TR181-XPON
1.4.0
TR-181 PON manager.
|
#include "object_intf_priv.h"
#include <stdint.h>
#include <stdlib.h>
#include <amxp/amxp.h>
#include <amxd/amxd_object_hierarchy.h>
#include "dm_xpon_mngr.h"
#include "utils_time.h"
#include "xpon_trace.h"
Go to the source code of this file.
Functions | |
static object_intf_priv_t * | create_priv (void) |
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) |
|
static |
Include amxp.h to avoid following compile error:
In file included from /usr/include/amxd/amxd_object_hierarchy.h:70, from private_object.c:7: /usr/include/amxd/amxd_types.h:266:5: error: unknown type name ‘amxp_signal_mngr_t’
Definition at line 88 of file object_intf_priv.c.
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.