Changeset 46577995 in mainline for uspace/lib/nic/src/nic_wol_virtues.c
- Timestamp:
- 2018-01-04T20:50:52Z (8 years ago)
- Children:
- e211ea04
- Parents:
- facacc71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:52)
- File:
-
- 1 edited
-
uspace/lib/nic/src/nic_wol_virtues.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/src/nic_wol_virtues.c
rfacacc71 r46577995 71 71 * @return ENOMEM On not enough memory 72 72 */ 73 int nic_wol_virtues_init(nic_wol_virtues_t *wvs)73 errno_t nic_wol_virtues_init(nic_wol_virtues_t *wvs) 74 74 { 75 75 memset(wvs, 0, sizeof(nic_wol_virtues_t)); … … 124 124 * @return ENOTSUP This type is unknown 125 125 */ 126 int nic_wol_virtues_verify(nic_wv_type_t type, const void *data, size_t length)126 errno_t nic_wol_virtues_verify(nic_wv_type_t type, const void *data, size_t length) 127 127 { 128 128 switch (type) { … … 160 160 * @return ENOMEM Not enough memory to activate the virtue 161 161 */ 162 int nic_wol_virtues_add(nic_wol_virtues_t *wvs, nic_wol_virtue_t *virtue)162 errno_t nic_wol_virtues_add(nic_wol_virtues_t *wvs, nic_wol_virtue_t *virtue) 163 163 { 164 164 if (!nic_wv_is_multi(virtue->type) && … … 247 247 * @return EINVAL If the filter type is invalid 248 248 */ 249 int nic_wol_virtues_list(const nic_wol_virtues_t *wvs, nic_wv_type_t type,249 errno_t nic_wol_virtues_list(const nic_wol_virtues_t *wvs, nic_wv_type_t type, 250 250 size_t max_count, nic_wv_id_t *id_list, size_t *id_count) 251 251 {
Note:
See TracChangeset
for help on using the changeset viewer.
