Refactor build system to use waf. Waf is better at handling dependency paths which I need for IDL support
This commit is contained in:
parent
df7f98bc6f
commit
9fd10dec9c
77 changed files with 312 additions and 86 deletions
28
secip.idl
28
secip.idl
|
@ -1,5 +1,6 @@
|
|||
|
||||
|
||||
[
|
||||
helper("../crc16.h")
|
||||
]
|
||||
interface secip
|
||||
{
|
||||
typedef [public,enum8bit] enum {
|
||||
|
@ -40,7 +41,7 @@ interface secip
|
|||
typedef [public,flag(LIBNDR_FLAG_NOALIGN)] struct {
|
||||
[value(0)] uint16 session_id;
|
||||
uint8 rsa_key[128];
|
||||
uint8 padding[74];
|
||||
uint8 padding[75];
|
||||
} secip_ppk_com;
|
||||
|
||||
typedef [public,flag(LIBNDR_FLAG_NOALIGN)] struct {
|
||||
|
@ -76,13 +77,30 @@ interface secip
|
|||
|
||||
typedef [public,flag(LIBNDR_FLAG_NOALIGN)] struct {
|
||||
uint16 connection_id; /* 0xffff is unassigned */
|
||||
uint8 pad; /* This is pretty weird actually */
|
||||
uint8 pad; /* This is pretty weird actually, alphatronics bug?? */
|
||||
secip_message message_id;
|
||||
uint16 sequence_number;
|
||||
char device_id[16];
|
||||
[switch_is(message_id)] secip_msg_union msg;
|
||||
uint8 padding[30]; /* random */
|
||||
uint16 crc;
|
||||
} secip_packet;
|
||||
|
||||
typedef [public,flag(LIBNDR_FLAG_NOALIGN)] struct {
|
||||
uint16 connection_id; /* 0xffff is unassigned */
|
||||
secip_message message_id;
|
||||
uint16 sequence_number;
|
||||
char device_id[16];
|
||||
[switch_is(message_id)] secip_msg_union msg;
|
||||
uint8 padding[30]; /* random */
|
||||
} secip_out_packet;
|
||||
|
||||
typedef [public,flag(LIBNDR_FLAG_NOALIGN)] struct {
|
||||
uint8 raw_packet[256];
|
||||
[value(calculate_crc(raw_packet, 256))] uint16 crc;
|
||||
} secip_setup_packet;
|
||||
|
||||
typedef [public,flag(LIBNDR_FLAG_NOALIGN)] struct {
|
||||
uint8 raw_packet[128];
|
||||
[value(calculate_crc(raw_packet, 128))] uint16 crc;
|
||||
} secip_comm_packet;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue