Searched refs:NSTACKX_LocalDeviceInfo (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/dsoftbus/tests/core/discovery/dfinder/ |
H A D | nstackx_test.c | 141 NSTACKX_LocalDeviceInfo *localDevInfo = (NSTACKX_LocalDeviceInfo *)malloc(sizeof(NSTACKX_LocalDeviceInfo)); in TestRegisterDeviceInfo() 147 (void)memset_s(localDevInfo, 0, sizeof(NSTACKX_LocalDeviceInfo), 0); in TestRegisterDeviceInfo()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/ |
H A D | nstackx.h | 128 } NSTACKX_LocalDeviceInfo; typedef 178 DFINDER_EXPORT int32_t NSTACKX_RegisterDevice(const NSTACKX_LocalDeviceInfo *localDeviceInfo); 184 DFINDER_EXPORT int32_t NSTACKX_RegisterDeviceAn(const NSTACKX_LocalDeviceInfo *localDeviceInfo, uint64_t deviceHash);
|
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/ |
H A D | disc_nstackx_adapter.c | 52 static NSTACKX_LocalDeviceInfo *g_localDeviceInfo = NULL;
417 int32_t res = memset_s(g_localDeviceInfo, sizeof(NSTACKX_LocalDeviceInfo), 0, sizeof(NSTACKX_LocalDeviceInfo));
in SetLocalDeviceInfo() 578 g_localDeviceInfo = (NSTACKX_LocalDeviceInfo *)SoftBusCalloc(sizeof(NSTACKX_LocalDeviceInfo));
in InitLocalInfo()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_common.c | 875 static int CheckLocalDeviceInfo(const NSTACKX_LocalDeviceInfo *localDeviceInfo) in CheckLocalDeviceInfo() 908 const NSTACKX_LocalDeviceInfo *localDeviceInfo, bool hasDeviceHash, uint64_t deviceHash) in DeviceInfoV2Init() 918 static int32_t RegisterDeviceWithDeviceHash(const NSTACKX_LocalDeviceInfo *localDeviceInfo, in RegisterDeviceWithDeviceHash() 947 int32_t NSTACKX_RegisterDevice(const NSTACKX_LocalDeviceInfo *localDeviceInfo) in NSTACKX_RegisterDevice() 986 int32_t NSTACKX_RegisterDeviceAn(const NSTACKX_LocalDeviceInfo *localDeviceInfo, uint64_t deviceHash) in NSTACKX_RegisterDeviceAn()
|
Completed in 6 milliseconds