Commit 7169f232 authored by kfox's avatar kfox

Cleaned up documentation example for LogConfiguration

parent 5c6d8fb6
......@@ -70,14 +70,17 @@ int athenaInterestControl(Athena *athena, CCNxInterest *interest, PARCBitVector
* @discussion
*
* @param [in] athena forwarder context
* @param [in] ccnx interest name
* @param [in] control message to log, needs to match athenactl syntax
* @param [in] ccnx interest control name
* @param [in] control message payload to log
*
* Example:
* @code
* {
* Athena *athena = athena_Create();
* athenaInterestControl_LogConfigurationChange(athena, ccnxName, "payload");
* CCNxName *addLink = ccnxName_CreateFromCString(CCNxNameAthenaCommand_LinkConnect);
* const char *connectionSpecification = "tcp://localhost:9695/name=myLoopback";
* athenaInterestControl_LogConfigurationChange(athena, addLink, "%s", connectionSpecification);
* ccnxName_Release(&addLink);
* athena_Release(&athena);
* }
* @endcode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment