mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
PSYC_Packet struct?
This commit is contained in:
parent
4de626227a
commit
746054dd03
1 changed files with 17 additions and 0 deletions
|
@ -85,6 +85,23 @@ typedef struct
|
||||||
const char* ptr;
|
const char* ptr;
|
||||||
} PSYC_Array;
|
} PSYC_Array;
|
||||||
|
|
||||||
|
|
||||||
|
/* intermediate struct for a PSYC variable modification */
|
||||||
|
typedef struct {
|
||||||
|
char oper; // not call it 'operator' as C++ may not like that..?
|
||||||
|
PSYC_Array name;
|
||||||
|
PSYC_Array parameter;
|
||||||
|
} PSYC_Modifier;
|
||||||
|
|
||||||
|
/* intermediate struct for a PSYC packet */
|
||||||
|
typedef struct {
|
||||||
|
PSYC_Modifier **routing; // Header
|
||||||
|
PSYC_Modifier **entity; // Header
|
||||||
|
PSYC_Array method;
|
||||||
|
PSYC_Array data;
|
||||||
|
} PSYC_Packet;
|
||||||
|
|
||||||
|
|
||||||
/// Routing vars in alphabetical order.
|
/// Routing vars in alphabetical order.
|
||||||
extern const PSYC_Array PSYC_routingVars[];
|
extern const PSYC_Array PSYC_routingVars[];
|
||||||
/// Number of routing vars.
|
/// Number of routing vars.
|
||||||
|
|
Loading…
Reference in a new issue