summaryrefslogtreecommitdiff
path: root/ecp/src/dir.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-02-02 06:40:10 +0100
committerUros Majstorovic <majstor@majstor.org>2022-02-02 06:40:10 +0100
commit64b55e7e1236121ea4197d9a37cfec43b196cfe8 (patch)
treeeb16f4a2d3eae3d9485eccbd923812a56b627979 /ecp/src/dir.h
parenta4401c99c2a54ba9a964317cbff915d40d16e470 (diff)
moved ecp, platform -> src
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);