#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
|
const char | data [] ="this is what we post to the silly web server" |
| Make it with: gcc -o post-callback post-callback.c -lcurl. More...
|
|
void init_string |
( |
struct string * |
s | ) |
|
size_t write_callback |
( |
void * |
ptr, |
|
|
size_t |
size, |
|
|
size_t |
nmemb, |
|
|
struct string * |
s |
|
) |
| |
const char data[] ="this is what we post to the silly web server" |
Make it with: gcc -o post-callback post-callback.c -lcurl.
- Examples:
- teoack.c, teoackm.c, teocque.c, teocquecpp.cpp, teodb_ex.c, teofossa.c, teol0cli.c, teolarge.c, teomulti_t.c, teosend.c, teosscr.c, teostream.c, teotcp.c, teoterm.c, and teotun.c.
Referenced by _check_connected(), _cmd_tcpp_read_cb(), teo::Teonet::CQue::add(), cli_count_filter(), cli_match_filter(), cli_range_filter(), cmd_stream_cb(), cmd_udpp_read_cb(), connect_watchers(), event_cb(), event_cb_client(), event_cb_server(), find_arp_by_addr_cb(), get_cb(), teo::Teonet::CQue::getData(), teo::Teonet::getPacket(), kq_connect_cb(), ksnCoreProcessPacket(), ksnCoreSendCmdto(), ksnCQueAdd(), ksnCQueFindData(), ksnCQueSetData(), ksnet_printf(), ksnetArpShowData(), ksnetArpShowStr(), ksnSplitCombine(), ksnStreamCreate(), ksnStreamGetMapData(), ksnTCPProxyServerClientConnect(), ksnTDBdelete(), ksnTDBget(), ksnTDBgetNs(), list_cb(), main(), mg_handle_chunked(), mg_mgr_init(), mg_resolve_async_opt(), teo::Teonet::LogReader::open(), peer_type_cb(), teo::Teonet::TeoDB::send(), send_cmd_connect_cb(), send_cmd_connect_cb_b(), teo::Teonet::sendEchoTo(), teo::Teonet::sendToL0(), teo::Teonet::CQue::setUserData(), sig_async_cb(), stdin_cb(), stealFromBuffer(), stream_in_cb(), stream_out_cb(), tcp_read_cb(), teoArpGetExtendedArpTable(), teo::Teonet::Teonet(), test_3_2(), test_3_3(), test_3_4(), and test_5_2().