00001 #ifndef POLICIES_H 00002 #define POLICIES_H 00003 00004 /* This file represents the policies of the ports. 00005 * Added by Matheus, sept 13, 2004 00006 */ 00007 00008 /* Output Port */ 00009 typedef enum {RANDOM, LABELED_STREAM, MULTICAST_LABELED_STREAM, BROADCAST, ROUND_ROBIN, W_POLICY_ERROR} writePolicy_t; 00010 writePolicy_t getWritePolicyByName(const char *name); 00011 00012 /* Input Port */ 00013 typedef enum {FIFO, R_POLICY_ERROR} readPolicy_t; 00014 #endif
1.4.6