TR181-XPON
1.4.0
TR-181 PON manager.
|
#include <stdbool.h>
#include <amxc/amxc_string.h>
Go to the source code of this file.
Functions | |
bool | ani_strip_tc_authentication (const char *const ani_auth_path, amxc_string_t *const ani_path) |
void | ani_append_tc_authentication (const char *const ani_path, amxc_string_t *const ani_auth_path) |
ANI related functions.
Definition in file ani.h.
void ani_append_tc_authentication | ( | const char *const | ani_path, |
amxc_string_t *const | ani_auth_path | ||
) |
Append ".TC.Authentication" to object path.
[in] | ani_path | path to ANI instance, e.g. "XPON.ONU.1.ANI.1" |
[in,out] | ani_auth_path | the caller must pass an initialized amxc_string_t object. The function takes the value of ani_path, appends ".TC.Authentication", and assigns the resulting value to ani_auth_path. The caller must call amxc_string_clean() on ani_auth_path (when finished using it). |
This function does the inverse of ani_append_tc_authentication().
Definition at line 113 of file ani.c.
bool ani_strip_tc_authentication | ( | const char *const | ani_auth_path, |
amxc_string_t *const | ani_path | ||
) |
Strip ".TC.Authentication" from object path
[in] | ani_auth_path | path to the TC.Authentication object of an ANI, e.g. "XPON.ONU.1.ANI.1.TC.Authentication" |
[in,out] | ani_path | the caller must pass an initialized amxc_string_t object. The function takes the value of ani_auth_path, strips ".TC.Authentication" from it, and assigns the resulting value to ani_path. The caller must call amxc_string_clean() on ani_path (when finished using it). |
This function does the inverse of ani_append_tc_authentication().
Definition at line 86 of file ani.c.