nl:: Weave:: Support
Summary
Typedefs |
|
---|---|
MessageNameFunct)(uint32_t inProfileId, uint8_t inMsgType)
|
typedefconst char *(*
Typedef for a callback function that returns a human-readable NULL-terminated C string describing the message type associated with the specified profile identifier. |
ProfileNameFunct)(uint32_t inProfileId)
|
typedefconst char *(*
Typedef for a callback function that returns a human-readable NULL-terminated C string describing the profile with the specified profile identifier. |
StatusReportFormatStringFunct)(uint32_t inProfileId, uint16_t inStatusCode)
|
typedefconst char *(*
Typedef for a callback function that returns a human-readable NULL-terminated C string describing the status code associated with the specified profile identifier. |
Variables |
|
---|---|
sProfileStringContextHead
|
Registry singly-linked list head pointer.
|
Functions |
|
---|---|
FindProfileStringContext(const ProfileStringContext & inContext)
|
Find a profile string support context matching the specified context, based on the profile identifier associated with the context.
|
FindProfileStringInfo(uint32_t inProfileId)
|
NL_DLL_EXPORT const ProfileStringInfo *
Find, if registered, the profile string support callbacks associated with the specified profile identifier.
|
InsertProfileStringContext(ProfileStringContext & inOutContext)
|
bool
Insert the specified profile string support context into the registry.
|
RegisterProfileStringInfo(ProfileStringContext & inOutContext)
|
NL_DLL_EXPORT WEAVE_ERROR
Register the provided profile string support callbacks.
|
RemoveProfileStringContext(ProfileStringContext & inOutContext)
|
bool
Remove the specified profile string support context from the registry.
|
UnregisterProfileStringInfo(ProfileStringContext & inOutContext)
|
NL_DLL_EXPORT WEAVE_ERROR
Unregister the provided profile string support callbacks.
|
Structs |
|
---|---|
nl:: |
Context for registering and deregistering callbacks associated with the specified profile identifier for returning human-readable support strings associated with the profile. |
nl:: |
Callbacks associated with the specified profile identifier for returning human-readable support strings associated with the profile. |
Typedefs
MessageNameFunct
const char *(* MessageNameFunct)(uint32_t inProfileId, uint8_t inMsgType)
Typedef for a callback function that returns a human-readable NULL-terminated C string describing the message type associated with the specified profile identifier.
This callback, when registered, is invoked when a human-readable NULL-terminated C string is needed to describe the message type associated with the specified profile identifier.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Returns |
a pointer to the NULL-terminated C string if a match is found; otherwise, NULL.
|
ProfileNameFunct
const char *(* ProfileNameFunct)(uint32_t inProfileId)
Typedef for a callback function that returns a human-readable NULL-terminated C string describing the profile with the specified profile identifier.
This callback, when registered, is invoked when a human-readable NULL-terminated C string is needed to describe the profile with the specified profile identifier.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
a pointer to the NULL-terminated C string if a match is found; otherwise, NULL.
|
StatusReportFormatStringFunct
const char *(* StatusReportFormatStringFunct)(uint32_t inProfileId, uint16_t inStatusCode)
Typedef for a callback function that returns a human-readable NULL-terminated C string describing the status code associated with the specified profile identifier.
This callback, when registered, is invoked when a human-readable NULL-terminated C string is needed to describe the status code associated with the specified profile identifier.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Returns |
a pointer to the NULL-terminated C string if a match is found; otherwise, NULL.
|
Variables
sProfileStringContextHead
ProfileStringContext * sProfileStringContextHead
Registry singly-linked list head pointer.
Functions
FindProfileStringContext
ProfileStringContext * FindProfileStringContext( const ProfileStringContext & inContext )
Find a profile string support context matching the specified context, based on the profile identifier associated with the context.
This function finds a profile string support context matching the specified context, based on the profile identifier associated with the context.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
a read-only pointer to the profile string support context if found; otherwise, NULL.
|
FindProfileStringInfo
NL_DLL_EXPORT const ProfileStringInfo * FindProfileStringInfo( uint32_t inProfileId )
Find, if registered, the profile string support callbacks associated with the specified profile identifier.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
a read-only pointer to the profile string support callbacks if found; otherwise, NULL.
|
RegisterProfielStringInfo
UnregisterProfielStringInfo
InsertProfileStringContext
bool InsertProfileStringContext( ProfileStringContext & inOutContext )
Insert the specified profile string support context into the registry.
This function inserts the specified profile string support context into the registry, if not already present, in sorted order, based on ascending profile identifier.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
true if the context was inserted; otherwise, false.
|
RegisterProfileStringInfo
NL_DLL_EXPORT WEAVE_ERROR RegisterProfileStringInfo( ProfileStringContext & inOutContext )
Register the provided profile string support callbacks.
This function registers and makes available the provided profile string support callbacks.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
FindStringProfileInfo
UnregisterProfielStringInfo
RemoveProfileStringContext
bool RemoveProfileStringContext( ProfileStringContext & inOutContext )
Remove the specified profile string support context from the registry.
This function removes the specified profile string support context from the registry, if present, based on the profile identifier.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
true if the context was removed; otherwise, false.
|
UnregisterProfileStringInfo
NL_DLL_EXPORT WEAVE_ERROR UnregisterProfileStringInfo( ProfileStringContext & inOutContext )
Unregister the provided profile string support callbacks.
This function unregisters and makes unavailable the provided profile string support callbacks.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
FindStringProfileInfo
RegisterProfielStringInfo