22 Commits

Author SHA1 Message Date
Aaron Hamilton
cf22aa9ff5 Use _DEFAULT_SOURCE instead of _BSD_SOURCE, since _BSD_SOURCE is deprecated. 2015-01-21 23:43:45 +00:00
josch
51b2ca1392 retrieve and store user's ekey when calling user/get_session_token 2014-12-29 15:11:53 +01:00
josch
80036b5bd9 move loop polling for upload completion into separate function 2014-12-29 13:57:53 +01:00
josch
0bd253bf28 fix indentation 2014-12-29 09:54:42 +01:00
root
2f218f9c99 fixup files in mfapi directory for strdup on old systems 2014-12-27 17:20:16 -06:00
root
a59ff6f516 added specifier to control the API version that is called and set it to curent stable (which is version 1.2) 2014-12-26 20:28:23 -06:00
josch
f788706680 mfconn_create_signed_get: add more verbosity to error conditions 2014-12-19 07:57:01 +01:00
josch
8468a39c0a if apicall failed - retry 2014-12-06 11:04:04 +01:00
josch
f1bf926145 Allow file upload
- add upload/simple
 - add upload/poll_upload
 - add "put" command to mfshell
 - add http POST method
2014-12-04 10:34:54 +01:00
josch
5a673abd1b fix valgrind problems 2014-10-19 08:58:56 +02:00
josch
5fa32f8878 build with std=c99 2014-10-02 08:20:08 +02:00
josch
6ca27f0a6a fix indent test and indentation 2014-09-24 11:28:35 +02:00
josch
6e546fa3f3 some stderr output on error 2014-09-23 20:52:30 +02:00
josch
7e4717c18f mfconn_create: abort early on faulty input 2014-09-23 19:30:50 +02:00
josch
036954df35 allow to pass no api_key when constructing the signature 2014-09-23 18:53:16 +02:00
josch
08c067a352 add const qualifiers to some variables 2014-09-23 09:28:58 +02:00
josch
097a855751 use gnu indent to enforce coding style and adapt source
- indent options are listed in ./.indent.pro
 - use test case to run indent
2014-09-20 12:29:39 +02:00
josch
d8e00119b4 add test with iwyu and fix all headers accordingly 2014-09-20 10:31:55 +02:00
josch
4b2563d800 remove the _t postfix from type names because POSIX reserves types ending in _t 2014-09-19 23:13:29 +02:00
josch
e0ee1e5f8f fix clang warnings 2014-09-19 21:14:30 +02:00
josch
b322f68ad2 build with -Wall -Wextra -Werror and fix errors 2014-09-19 17:08:24 +02:00
josch
ef3b2aa844 Refactor code into utils, mfapi and mfshell
- utils is the low level library used by the others
 - mfapi uses utils and implements the api and some wrappers
 - mfshell uses mfapi and utils to provide a shell
2014-09-19 17:08:20 +02:00