33 lines
636 B
C
33 lines
636 B
C
|
|
||
|
#ifndef PARCEL_H
|
||
|
#define PARCEL_H
|
||
|
|
||
|
#include <utility.h>
|
||
|
|
||
|
typedef struct pac_grammar pac_grammar_s;
|
||
|
typedef struct pac_log_entry pac_log_entry_s;
|
||
|
typedef struct pac_log pac_log_s;
|
||
|
|
||
|
struct pac_log_entry
|
||
|
{
|
||
|
usz_t length;
|
||
|
char *text;
|
||
|
|
||
|
};
|
||
|
|
||
|
struct pac_log
|
||
|
{
|
||
|
usz_t length;
|
||
|
pac_log_entry_s *entries;
|
||
|
};
|
||
|
|
||
|
struct pac_grammar
|
||
|
{
|
||
|
|
||
|
};
|
||
|
|
||
|
pac_grammar_s pac_convert_grammar (char *source);
|
||
|
// void pac_delete_grammar (pac_grammar_s grammar);
|
||
|
|
||
|
#endif // PARCEL_H
|