queue problems
This commit is contained in:
parent
2ac5491b44
commit
8dd2fe0e34
10 changed files with 427 additions and 59 deletions
|
@ -1,4 +1,36 @@
|
|||
#ifndef _SPHO_DATA_H
|
||||
#define _SPHO_DATA_H
|
||||
|
||||
#endif
|
||||
#include <sys/queue.h>
|
||||
|
||||
struct spho_name {
|
||||
char str[128];
|
||||
};
|
||||
|
||||
struct spho_var {
|
||||
struct spho_name name;
|
||||
};
|
||||
|
||||
struct spho_cnst {
|
||||
struct spho_name name;
|
||||
};
|
||||
|
||||
struct spho_nom {
|
||||
struct spho_name name;
|
||||
};
|
||||
|
||||
struct spho_nom_le {
|
||||
struct spho_nom nom;
|
||||
SLIST_ENTRY(spho_nom_le) next;
|
||||
};
|
||||
|
||||
struct spho_const_le {
|
||||
struct spho_cnst cnst;
|
||||
SLIST_ENTRY(spho_const_le) next;
|
||||
};
|
||||
|
||||
|
||||
SLIST_HEAD(spho_nom_l, struct spho_nom_le);
|
||||
SLIST_HEAD(spho_const_l, struct spho_const_le);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue