summaryrefslogtreecommitdiff
path: root/sakisafecli/funcs.h
blob: def8f158f36215235663f30c4b4a84ea6fc9d553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include <stdlib.h>

/* Function used from curl to write data to a buffer */
size_t
write_data(void *buffer, size_t size, size_t nmemb, void *userp);

/* Print usage message (when nothing is given to sakisafecli) */
void
print_usage();

/* Print help message (-h) */
void
print_help();

/* Function used to display progress when uploading a file */

void
progress(
	void *clientp, double dltotal, double dlnow, double ultotal, double ulnow);

/* Print config */
void
print_config();