aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: 3eda25e032c7adba92bf4ebfa5885efcdbb93d75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>

int
get_tokens_from_file(char *filename, char *instance,char *client_id,
				 char *client_secret, char *access_token);
size_t
write_data(void *buffer, size_t size, size_t nmemb, void *userp);

void
eputs(const char *s);

struct memory {
	char *response;
	size_t size;
};

size_t cb(void *data, size_t size, size_t nmemb, void *userp);