A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Revision:
5:ae49385aff34
Parent:
0:6ae2f7bca550
Child:
6:641a9672db08
--- a/frame_codec.c	Tue Jun 07 10:49:20 2016 -0700
+++ b/frame_codec.c	Fri Jul 01 10:42:48 2016 -0700
@@ -43,8 +43,6 @@
 
 typedef struct FRAME_CODEC_INSTANCE_TAG
 {
-	LOGGER_LOG logger_log;
-
 	/* subscriptions */
 	LIST_HANDLE subscription_list;
 
@@ -84,7 +82,7 @@
 	return result;
 }
 
-FRAME_CODEC_HANDLE frame_codec_create(ON_FRAME_CODEC_ERROR on_frame_codec_error, void* callback_context, LOGGER_LOG logger_log)
+FRAME_CODEC_HANDLE frame_codec_create(ON_FRAME_CODEC_ERROR on_frame_codec_error, void* callback_context)
 {
 	FRAME_CODEC_INSTANCE* result;
 
@@ -101,7 +99,6 @@
 		if (result != NULL)
 		{
 			/* Codes_SRS_FRAME_CODEC_01_021: [frame_codec_create shall create a new instance of frame_codec and return a non-NULL handle to it on success.] */
-			result->logger_log = logger_log;
 			result->encode_frame_state = ENCODE_FRAME_STATE_IDLE;
 			result->receive_frame_state = RECEIVE_FRAME_STATE_FRAME_SIZE;
 			result->on_frame_codec_error = on_frame_codec_error;