Added new declaration of skygw_file_write and modification to the function which returns errno instead of boolean.
This commit is contained in:
VilhoRaatikka
2014-11-10 13:59:55 +02:00
parent 20ddcfb8c4
commit d1772e300e
3 changed files with 22 additions and 9 deletions

View File

@ -146,7 +146,7 @@ EXTERN_C_BLOCK_END
/** Skygw file routines */
skygw_file_t* skygw_file_init(char* fname, char* symlinkname);
void skygw_file_done(skygw_file_t* file);
bool skygw_file_write(
int skygw_file_write(
skygw_file_t* file,
void* data,
size_t nbytes,