completed device info

This commit is contained in:
2025-07-29 17:39:38 +02:00
parent 9e33d5a1d2
commit 93206a536d
3 changed files with 16 additions and 2 deletions

View File

@@ -441,7 +441,7 @@ typedef struct nn_deviceInfo_t nn_deviceInfo_t;
nn_deviceInfoList_t *nn_newDeviceInfoList(nn_Context *ctx, nn_size_t preallocate);
void nn_deleteDeviceInfoList(nn_deviceInfoList_t *deviceInfoList);
nn_deviceInfo_t *nn_addDeviceInfo(nn_deviceInfoList_t *list, nn_address address, nn_size_t maxKeys);
void nn_removeDeviceInfo(nn_deviceInfoList_t *list, const char *key);
void nn_removeDeviceInfo(nn_deviceInfoList_t *list, const char *address);
nn_bool_t nn_registerDeviceKey(nn_deviceInfo_t *deviceInfo, const char *key, const char *value);
nn_deviceInfo_t *nn_getDeviceInfoAt(nn_deviceInfoList_t *list, nn_size_t idx);
nn_size_t nn_getDeviceCount(nn_deviceInfoList_t *list);