Implemented numeber of multisession options, reading, modifying tree, and a number of improvements
This commit is contained in:
@ -112,7 +112,12 @@ void iso_bb(uint8_t *buf, uint32_t num, int bytes);
|
||||
|
||||
uint32_t iso_read_lsb(const uint8_t *buf, int bytes);
|
||||
uint32_t iso_read_msb(const uint8_t *buf, int bytes);
|
||||
uint32_t iso_read_bb(const uint8_t *buf, int bytes);
|
||||
|
||||
/**
|
||||
* if error != NULL it will be set to 1 if LSB and MSB integers
|
||||
* don't match
|
||||
*/
|
||||
uint32_t iso_read_bb(const uint8_t *buf, int bytes, int *error);
|
||||
|
||||
/** Records the date/time into a 7 byte buffer (9.1.5) */
|
||||
void iso_datetime_7(uint8_t *buf, time_t t);
|
||||
@ -133,4 +138,12 @@ size_t ucslen(const uint16_t *str);
|
||||
*/
|
||||
int ucscmp(const uint16_t *s1, const uint16_t *s2);
|
||||
|
||||
/**
|
||||
* Copy up to \p len chars from \p buf and return this newly allocated
|
||||
* string. The new string is null-terminated.
|
||||
* TODO it would be great to return NULL is the original string was all
|
||||
* white spaces.
|
||||
*/
|
||||
char *strcopy(const char *buf, size_t len);
|
||||
|
||||
#endif /* LIBISO_UTIL_H */
|
||||
|
Reference in New Issue
Block a user