log-e-sappho/include/spho/data.h
2025-04-11 23:16:29 +02:00

36 lines
513 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, struct spho_nom_le);
SLIST_HEAD(spho_const_l, struct spho_const_le);
#endif