diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-08-21 21:30:13 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-08-21 21:30:13 +0100 |
commit | 40e4b1da84808b4e592126e037601f5b6ccc0e25 (patch) | |
tree | 0f6aab6b8a45d20f9349e206873cb8020601c64b /netbytes.h | |
parent | 18b2ebe3df26009ef6b2aeb0670a396e876fca25 (diff) | |
download | netbytes-40e4b1da84808b4e592126e037601f5b6ccc0e25.tar.gz netbytes-40e4b1da84808b4e592126e037601f5b6ccc0e25.zip |
Fixed u16,u32,u64 add value to store functions
Diffstat (limited to 'netbytes.h')
-rw-r--r-- | netbytes.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -148,24 +148,24 @@ int nb_u32arr_create( nb_u32arr *s, __NBT_U32ARR_LEN len, uint32_t *val ); int nb_u64_create( nb_u64 *s, uint64_t val ); int nb_u64arr_create( nb_u64arr *s, __NBT_U64ARR_LEN len, uint64_t *val ); -int nb_init( netbyte_store *store ); -int nb_add_u8( netbyte_store *store, nb_u8 *u8 ); -int nb_add_u8arr( netbyte_store *store, nb_u8arr *u8arr ); -int nb_add_u16( netbyte_store *store, nb_u16 *u16 ); +int nb_init( netbyte_store *store ); +int nb_add_u8( netbyte_store *store, nb_u8 *u8 ); +int nb_add_u8arr( netbyte_store *store, nb_u8arr *u8arr ); +int nb_add_u16( netbyte_store *store, nb_u16 *u16 ); int nb_add_u16arr( netbyte_store *store, nb_u16arr *u16arr ); -int nb_add_u32( netbyte_store *store, nb_u32 *u32 ); +int nb_add_u32( netbyte_store *store, nb_u32 *u32 ); int nb_add_u32arr( netbyte_store *store, nb_u32arr *u32arr ); -int nb_add_u64( netbyte_store *store, nb_u64 *u64 ); +int nb_add_u64( netbyte_store *store, nb_u64 *u64 ); int nb_add_u64arr( netbyte_store *store, nb_u64arr *u64arr ); uint8_t *nb_create( netbyte_store *store ); int nb_free(netbyte_store *store); -int nb_load( netbyte_store *store, uint8_t *data ); +int nb_load( netbyte_store *store, uint8_t *data ); int nb_count( netbyte_store *store ); -int nb_type( netbyte_store *store, int count, __NBT_TYPED **type ); -int nb_val( netbyte_store *store, int count, __nb_type **type ); +int nb_type( netbyte_store *store, int count, __NBT_TYPED **type ); +int nb_val( netbyte_store *store, int count, __nb_type **type ); int nb_fread( netbyte_store *store, int fd); //print all all values in netbyte string |