25 #ifndef LIBASTERIX_FSPEC_H 26 #define LIBASTERIX_FSPEC_H 36 typedef struct _ast_fspec_t
53 AST_API bool ast_fspec_set(
unsigned char*
const buffer,
const size_t bufsize,
const unsigned int frn,
const bool set);
59 #endif //LIBASTERIX_FSPEC_H size_t count
Size of FSPEC field, number of bytes.
Definition: fspec.h:40
ast_fspec_t ast_fspec_decode(const unsigned char *const buffer, const size_t bufsize)
size_t size
Address of FSPEC field.
Definition: fspec.h:39
bool ast_fspec_set(unsigned char *const buffer, const size_t bufsize, const unsigned int frn, const bool set)
size_t count_set
Number of data items in total.
Definition: fspec.h:41
bool ast_fspec_is_set(const ast_fspec_t *fspec, const unsigned int frn)
const unsigned char * data
Definition: fspec.h:38
bool valid
Number of data items set existance.
Definition: fspec.h:42
ast_fspec_t ast_fspec_copy(unsigned char *const buffer, const size_t bufsize, const ast_fspec_t src)