Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/src/nic_addr_db.c

    r002fd5f rb7fd2a0  
    120120 * @return ENOMEM       If there was not enough memory to initialize the storage
    121121 */
    122 int nic_addr_db_init(nic_addr_db_t *db, size_t addr_len)
     122errno_t nic_addr_db_init(nic_addr_db_t *db, size_t addr_len)
    123123{
    124124        assert(db);
     
    168168 * @return EEXIST       If this adress already is in the db
    169169 */
    170 int nic_addr_db_insert(nic_addr_db_t *db, const uint8_t *addr)
     170errno_t nic_addr_db_insert(nic_addr_db_t *db, const uint8_t *addr)
    171171{
    172172        assert(db && addr);
     
    200200 * @return ENOENT       If there is no address
    201201 */
    202 int nic_addr_db_remove(nic_addr_db_t *db, const uint8_t *addr)
     202errno_t nic_addr_db_remove(nic_addr_db_t *db, const uint8_t *addr)
    203203{
    204204        assert(db && addr);
     
    223223 * @return true if the address is in the db, false otherwise
    224224 */
    225 int nic_addr_db_contains(const nic_addr_db_t *db, const uint8_t *addr)
     225bool nic_addr_db_contains(const nic_addr_db_t *db, const uint8_t *addr)
    226226{
    227227        assert(db && addr);
Note: See TracChangeset for help on using the changeset viewer.