diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-02-02 06:40:10 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-02-02 06:40:10 +0100 |
commit | 64b55e7e1236121ea4197d9a37cfec43b196cfe8 (patch) | |
tree | eb16f4a2d3eae3d9485eccbd923812a56b627979 /ecp/src/dir.h | |
parent | a4401c99c2a54ba9a964317cbff915d40d16e470 (diff) |
moved ecp, platform -> src
Diffstat (limited to 'ecp/src/dir.h')
-rw-r--r-- | ecp/src/dir.h | 18 |
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); |