]> granicus.if.org Git - esp-idf/commitdiff
Add http_buffer description
authorTuan PM <tuanpm@live.com>
Mon, 16 Jul 2018 03:37:06 +0000 (10:37 +0700)
committerbot <bot@espressif.com>
Wed, 1 Aug 2018 07:14:36 +0000 (07:14 +0000)
components/esp_http_client/esp_http_client.c

index 2e2b25c536462bcb6563e39eb1a8747342814505..02f6ebce24686fd97af46b3193e1a63542a6e9f6 100644 (file)
 
 static const char *TAG = "HTTP_CLIENT";
 
+/**
+ * HTTP Buffer
+ */
 typedef struct {
-    char *data;
-    int len;
-    char *raw_data;
-    int raw_len;
-    char *output_ptr;
+    char *data;         /*!< The HTTP data received from the server */
+    int len;            /*!< The HTTP data len received from the server */
+    char *raw_data;     /*!< The HTTP data after decoding */
+    int raw_len;        /*!< The HTTP data len after decoding */
+    char *output_ptr;   /*!< The destination address of the data to be copied to after decoding */
 } esp_http_buffer_t;
+
 /**
  * private HTTP Data structure
  */