diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2015-01-05 09:03:05 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2015-01-05 12:59:40 +0100 |
commit | d17b009ffec3077bf8db6e6902a7456ec90e9c38 (patch) | |
tree | 2a5ee305bd8c8a39faf7c2db342d399c689ae432 /wlp/structs.h | |
parent | a9e311030533ac6c175e2289e8928e4aae98b6c3 (diff) | |
download | pygn-d17b009ffec3077bf8db6e6902a7456ec90e9c38.tar.gz |
First draft of the pure Python parser done, we should be noarch.
Fixes #2
Diffstat (limited to 'wlp/structs.h')
-rw-r--r-- | wlp/structs.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/wlp/structs.h b/wlp/structs.h deleted file mode 100644 index 92036a7..0000000 --- a/wlp/structs.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * structs.h - Copyright 2000, 2001 by Cosimo Alfarano <Alfarano@CS.UniBo.It> - * You can use this software under the terms of the GPL. If we meet some day, - * and you think this stuff is worth it, you can buy me a beer in return. - * - * Thanks to md for this useful formula. Beer is beer. - */ - -#ifndef _structs_h_ -#define _structs_h_ - -typedef struct wlp_node_t { - char *left,*right; - char *owner; - char type; /* unused */ - struct wlp_node_t *next, *prev; -} wlp_node_t; - -typedef struct wlp_list_t { - int count; - struct wlp_node_t *head, *tail; -} wlp_list_t; - - -/* white list parser data structure manipulation */ -struct wlp_list_t *wlpl_init(struct wlp_node_t *node); -struct wlp_node_t *wlpn_alloc(const char empty); -void wlpn_free(struct wlp_node_t *node); -struct wlp_node_t *wlpn_add(struct wlp_list_t *wlpl,struct wlp_node_t *wlpn); -struct wlp_node_t *wlpn_extract(struct wlp_list_t *wlpl,struct wlp_node_t *wlpn); -/*struct wlp_node_t *wlpn_search(struct wlp_list_t *wlpl,const char id);*/ - -#endif /* _structs_h_ */ - -/* EOF */ |