]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/core/fwp_endpoint.h
Futher include file cleaning
[frescor/fwp.git] / fwp / lib / core / fwp_endpoint.h
index ac8ee62f423446448f7cc97cff165d0240167b04..f9e1baca051670619105d084900c46a41c012cdf 100644 (file)
@@ -8,10 +8,7 @@ typedef enum {
        FWP_EPOINT_RELIABLE     = 1,
 } fwp_endpoint_reliability_t;
 
-typedef unsigned int fwp_endpoint_id_t;
-
 struct fwp_endpoint;
-typedef struct fwp_endpoint fwp_endpoint_t;
 /* fwp endpoint descriptor type */
 typedef struct fwp_endpoint* fwp_endpoint_d_t;
 
@@ -22,14 +19,9 @@ struct fwp_endpoint_attr {
        /* queueing policy*/
 } fwp_endpoint_attr_t;
 
-#include "fwp_util.h"
+/*TODO: extract FWP_DEBUG from fwp_util.h */
 #include "fwp_util.h"
 #include "fwp_vres.h"
-#include <string.h>
-
-#ifdef _FWP_INTERNALS_
-int fwp_endpoint_table_init(unsigned int nr_endpoints);
-#endif
 
 int fwp_endpoint_get_params(fwp_endpoint_d_t epointd, unsigned int *node, 
                                unsigned int *port, fwp_endpoint_attr_t *attr);
@@ -59,5 +51,9 @@ static inline int fwp_endpoint_attr_setreliability(fwp_endpoint_attr_t *attr,
 
 /* Sets queueing policy */
 /*int fwp_endpoint_attr_setqpolicy(fwp_endpoint_attr_t *attr);*/
+#ifdef _FWP_INTERNALS_
+
+int fwp_endpoint_table_init(unsigned int nr_endpoints);
 
+#endif /*_FWP_INTERNALS_*/
 #endif /*_FWP_ENDPOINT_H */