Functions
rovio_http.cpp File Reference

Communication library to the Rovio's HTTP server. More...

#include <rovio_shared/rovio_http.h>
Include dependency graph for rovio_http.cpp:

Go to the source code of this file.

Functions

void rovio_response_clean (rovio_response *resp)
size_t write_data (char *ptr, size_t size, size_t nmemb, rovio_response *buf)

Detailed Description

Communication library to the Rovio's HTTP server.

rovio_http allows direct communication to the Rovio's HTTP server. This library uses CURL to transmit messages to and from the Rovio.

Author:
Russell Toris, WPI - rctoris@wpi.edu
Date:
April 6, 2014

Definition in file rovio_http.cpp.


Function Documentation

Cleanup any resources used by a rovio_response struct.

Parameters:
respthe rovio_response struct to cleanup

Definition at line 90 of file rovio_http.cpp.

size_t write_data ( char *  ptr,
size_t  size,
size_t  nmemb,
rovio_response buf 
)

The callback function used by cURL to store the response from the Rovio. This function should only be used by cURL internally by the rovio_http.

Definition at line 62 of file rovio_http.cpp.



rovio_shared
Author(s): Russell Toris
autogenerated on Mon Oct 6 2014 07:13:07