diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/alarmd_proto.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/inc/alarmd_proto.h b/inc/alarmd_proto.h index ebeddf1..3082424 100644 --- a/inc/alarmd_proto.h +++ b/inc/alarmd_proto.h @@ -2,6 +2,7 @@ #define ALARMD_PROTO_H #include <stdint.h> +#include <uuid/uuid.h> #define ALARMD_PORT "1433" @@ -15,9 +16,9 @@ enum alarmd_packet_type { int8_t recv_string(int sock, char (*buffer)[128]); int send_string(int sock, char *buffer); -int alarmd_register(int sock, char *desc, char (*uuid)[16]); -int alarmd_deregister(int sock, char uuid[16]); -int alarmd_raise(int sock, char uuid[16]); -int alarmd_clear(int sock, char uuid[16]); +int alarmd_register(int sock, char *desc, uuid_t *uuid); +int alarmd_deregister(int sock, uuid_t uuid); +int alarmd_raise(int sock, uuid_t uuid); +int alarmd_clear(int sock, uuid_t uuid); #endif /* ALARMD_PROTO_H */ |