TR181-XPON
1.4.0
TR-181 PON manager.
|
#include <stdint.h>
#include <amxc/amxc.h>
Go to the source code of this file.
Data Structures | |
struct | _object_intf_priv |
Typedefs | |
typedef struct _object_intf_priv | object_intf_priv_t |
Functions | |
void | oipriv_attach_private_data (const amxc_var_t *const data) |
void | oipriv_delete_private_data (object_intf_priv_t *priv) |
void | oipriv_update_last_change (const amxc_var_t *const data) |
Functions related to the private data attached to an interface object.
tr181-xpon attaches private data to the interface objects EthernetUNI and ANI to implement their LastChange parameter.
Definition in file object_intf_priv.h.
typedef struct _object_intf_priv object_intf_priv_t |
Type of private data attached to an interface object.
@last_change: timestamp indicating when Status changed the last time. Expressed in seconds since startup.
void oipriv_attach_private_data | ( | const amxc_var_t *const | data | ) |
Attach private data to interface object referred by data.
[in] | data | event data. It has the path and the index of the instance just added. |
tr181-xpon calls this function if an EthernetUNI or ANI instance is added to attach private data to the instance.
Definition at line 106 of file object_intf_priv.c.
void oipriv_delete_private_data | ( | object_intf_priv_t * | priv | ) |
void oipriv_update_last_change | ( | const amxc_var_t *const | data | ) |
Update the last_change field in the private data of an interface object.
[in] | data | event data. It has the path of the interface object for which this function must update the last_change field. |
tr181-xpon calls this function if the Status parameter of an interface object is changed.
Definition at line 139 of file object_intf_priv.c.