diff options
author | Danny Abukalam <dannyabukalam@codethink.co.uk> | 2011-12-13 14:46:32 +0000 |
---|---|---|
committer | Danny Abukalam <dannyabukalam@codethink.co.uk> | 2011-12-16 13:48:38 +0000 |
commit | b992e1e0043738c42a35957e890fb7392aadd095 (patch) | |
tree | 0f9117cdd5335c72d898b46467a2b4c66be27e56 /libtbd_xattrs.h | |
parent | c4b2a882a539ef2b33a8d4efcff09d4aad48e196 (diff) | |
download | tbdiff-b992e1e0043738c42a35957e890fb7392aadd095.tar.gz |
Added library to control reading and writing to streams
Added Cross-endian platform support
Changed gids and uids to respective variables
Forced time_t to be written as a uint64_t to support cross-architecture
Diffstat (limited to 'libtbd_xattrs.h')
-rw-r--r-- | libtbd_xattrs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libtbd_xattrs.h b/libtbd_xattrs.h index 7a1399c..5f4cd5e 100644 --- a/libtbd_xattrs.h +++ b/libtbd_xattrs.h @@ -19,6 +19,7 @@ #define _LIBTBD_XATTRS_H #include <stddef.h> +#include <stdint.h> /* structure for names data */ typedef struct tbd_xattrs_names { @@ -38,7 +39,7 @@ extern int tbd_xattrs_names_each(tbd_xattrs_names_t const *names, void *ud); /* gets how many different attributes there are in the list */ -extern int tbd_xattrs_names_count(tbd_xattrs_names_t const *names, int *count); +extern int tbd_xattrs_names_count(tbd_xattrs_names_t const *names, uint32_t *count); /* puts the value of the attribute called name into *buf with size *bufsize * if *buf is NULL or *bufsize is 0 then memory will be allocated for it |