summaryrefslogtreecommitdiff
path: root/ecp/src/dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/src/dir.h')
-rw-r--r--ecp/src/dir.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/ecp/src/dir.h b/ecp/src/dir.h
deleted file mode 100644
index 2fcc50f..0000000
--- a/ecp/src/dir.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#define ECP_MAX_DIR_ITEM 30
-#define ECP_SIZE_DIR_ITEM 40
-
-typedef struct ECPDirItem {
- ECPNode node;
- uint16_t capabilities;
-} ECPDirItem;
-
-typedef struct ECPDirList {
- ECPDirItem item[ECP_MAX_DIR_ITEM];
- uint16_t count;
-} ECPDirList;
-
-ssize_t ecp_dir_parse(ECPDirList *list, unsigned char *buf, size_t buf_size);
-int ecp_dir_serialize(ECPDirList *list, unsigned char *buf, size_t buf_size);
-
-void ecp_dir_item_parse(ECPDirItem *item, unsigned char *buf);
-void ecp_dir_item_serialize(ECPDirItem *item, unsigned char *buf);