You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
495 B
26 lines
495 B
1 year ago
|
|
||
|
#ifndef AGI_NETWORK_H
|
||
|
#define AGI_NETWORK_H 1
|
||
|
|
||
|
#include <jansson.h>
|
||
|
#include <curl/curl.h>
|
||
|
|
||
|
struct response_google {
|
||
|
char *response;
|
||
|
size_t size;
|
||
|
};
|
||
|
|
||
|
#include "agi_c.h"
|
||
|
#include "speech.h"
|
||
|
#include <stddef.h>
|
||
|
#include <curl/curl.h>
|
||
|
#include <jansson.h>
|
||
|
|
||
|
|
||
|
struct response_google *send_network( s_agi_parameter *param_agi, struct b_audio *b_flac );
|
||
|
size_t response_curl(void *contents, size_t size, size_t nmemb, void *userp);
|
||
|
char *http_content(CURL *curl, struct b_audio *b_flac);
|
||
|
|
||
|
|
||
|
#endif
|