mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
40 lines
977 B
C
40 lines
977 B
C
#ifndef PSYC_SYNTAX_H
|
|
#define PSYC_SYNTAX_H
|
|
|
|
#ifndef PSYC_LIST_SIZE_LIMIT
|
|
# define PSYC_LIST_SIZE_LIMIT 404
|
|
#endif
|
|
|
|
/* beyond this a content length must be provided */
|
|
#ifndef PSYC_CONTENT_SIZE_THRESHOLD
|
|
# define PSYC_CONTENT_SIZE_THRESHOLD 444
|
|
#endif
|
|
|
|
#define C_GLYPH_PACKET_DELIMITER '|'
|
|
#define S_GLYPH_PACKET_DELIMITER "|"
|
|
#define PSYC_PACKET_DELIMITER "\n|\n"
|
|
|
|
#define C_GLYPH_SEPARATOR_KEYWORD '_'
|
|
#define S_GLYPH_SEPARATOR_KEYWORD "_"
|
|
|
|
#define C_GLYPH_MODIFIER_SET ':'
|
|
#define S_GLYPH_MODIFIER_SET ":"
|
|
|
|
#define C_GLYPH_MODIFIER_ASSIGN '='
|
|
#define S_GLYPH_MODIFIER_ASSIGN "="
|
|
|
|
#define C_GLYPH_MODIFIER_AUGMENT '+'
|
|
#define S_GLYPH_MODIFIER_AUGMENT "+"
|
|
|
|
#define C_GLYPH_MODIFIER_DIMINISH '-'
|
|
#define S_GLYPH_MODIFIER_DIMINISH "-"
|
|
|
|
#define C_GLYPH_MODIFIER_QUERY '?'
|
|
#define S_GLYPH_MODIFIER_QUERY "?"
|
|
|
|
/* might move into routing.h or something */
|
|
#define PSYC_ROUTING 1
|
|
#define PSYC_ROUTING_MERGE 2
|
|
#define PSYC_ROUTING_RENDER 4
|
|
|
|
#endif /* PSYC_SYNTAX_H */
|