A small memory footprint AMQP implimentation
Dependents: iothub_client_sample_amqp remote_monitoring simplesample_amqp
Diff: header_detect_io.c
- Revision:
- 43:4c1e4e94cdd3
- Parent:
- 38:7631b92cc772
diff -r e2c1c1b77f13 -r 4c1e4e94cdd3 header_detect_io.c --- a/header_detect_io.c Fri May 04 13:24:52 2018 -0700 +++ b/header_detect_io.c Mon Jun 11 15:39:52 2018 -0700 @@ -132,7 +132,7 @@ } } -// This callback usage needs to be either verified and commented or integrated into +// This callback usage needs to be either verified and commented or integrated into // the state machine. static void unchecked_on_send_complete(void* context, IO_SEND_RESULT send_result) { @@ -942,13 +942,13 @@ sizeof(sasl_amqp_header_bytes) }; -const AMQP_HEADER header_detect_io_get_amqp_header(void) +AMQP_HEADER header_detect_io_get_amqp_header(void) { /* Codes_SRS_HEADER_DETECT_IO_01_091: [ `header_detect_io_get_amqp_header` shall return a structure that should point to a buffer that contains the bytes { 'A', 'M', 'Q', 'P', 0, 1, 0, 0 }. ]*/ return amqp_header; } -const AMQP_HEADER header_detect_io_get_sasl_amqp_header(void) +AMQP_HEADER header_detect_io_get_sasl_amqp_header(void) { /* Codes_SRS_HEADER_DETECT_IO_01_091: [ `header_detect_io_get_sasl_amqp_header` shall return a structure that should point to a buffer that contains the bytes { 'A', 'M', 'Q', 'P', 3, 1, 0, 0 }. ]*/ return sasl_amqp_header;