36 lines
499 B
C
36 lines
499 B
C
#ifndef _SPHO_DATA_H
|
|
#define _SPHO_DATA_H
|
|
|
|
#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, spho_nom_le);
|
|
SLIST_HEAD(spho_const_l, spho_const_le);
|
|
|
|
#endif
|