Soletta™ Framework
|
#include <errno.h>
#include <getopt.h>
#include <stdio.h>
#include <string.h>
#include "soletta.h"
#include "sol-http.h"
#include "sol-http-client.h"
Functions | |
static ssize_t | on_data_func (void *userdata, struct sol_http_client_connection *connection, const struct sol_buffer *buffer) |
static void | response_func (void *userdata, struct sol_http_client_connection *connection, struct sol_http_response *response) |
static void | shutdown (void) |
SOL_MAIN_DEFAULT (startup, shutdown) | |
static void | startup (void) |
Variables | |
static FILE * | fd |
static const struct sol_http_request_interface | iface |
struct sol_http_client_connection * | pending |
|
static |
References sol_buffer::data, fd, and sol_buffer::used.
|
static |
References fd, pending, sol_http_response::response_code, SOL_HTTP_STATUS_OK, and sol_quit_with_code().
|
static |
References fd, pending, and sol_http_client_connection_cancel().
|
static |
References fd, pending, sol_argc(), sol_argv(), sol_http_client_request_with_interface(), SOL_HTTP_METHOD_GET, and sol_quit_with_code().
|
static |
|
static |
struct sol_http_client_connection* pending |
Referenced by response_func(), shutdown(), and startup().