|
enum | _oid_key_type_t {
OID_KEY_TYPE_WRONG
, OID_KEY_TYPE_INTEGER
, OID_KEY_TYPE_OID
, OID_KEY_TYPE_STRING
,
OID_KEY_TYPE_BYTES
, OID_KEY_TYPE_NSAP
, OID_KEY_TYPE_IPADDR
, OID_KEY_TYPE_IMPLIED_OID
,
OID_KEY_TYPE_IMPLIED_STRING
, OID_KEY_TYPE_IMPLIED_BYTES
, OID_KEY_TYPE_ETHER
, OID_KEY_TYPE_DATE_AND_TIME
} |
|
enum | _oid_kind_t {
OID_KIND_UNKNOWN = 0
, OID_KIND_NODE
, OID_KIND_SCALAR
, OID_KIND_TABLE
,
OID_KIND_ROW
, OID_KIND_COLUMN
, OID_KIND_NOTIFICATION
, OID_KIND_GROUP
,
OID_KIND_COMPLIANCE
, OID_KIND_CAPABILITIES
} |
|
|
WS_DLL_PUBLIC void | oids_init (void) |
|
void | oid_pref_init (module_t *nameres) |
|
WS_DLL_PUBLIC void | oids_cleanup (void) |
|
WS_DLL_PUBLIC guint | oid_subid2encoded (wmem_allocator_t *scope, guint len, guint32 *subids, guint8 **encoded_p) |
|
WS_DLL_PUBLIC guint | oid_string2encoded (wmem_allocator_t *scope, const gchar *oid_str, guint8 **encoded_p) |
|
WS_DLL_PUBLIC guint | oid_encoded2subid (wmem_allocator_t *scope, const guint8 *oid, gint len, guint32 **subids_p) |
|
WS_DLL_PUBLIC guint | oid_encoded2subid_sub (wmem_allocator_t *scope, const guint8 *oid_bytes, gint oid_len, guint32 **subids_pi, gboolean is_first) |
|
WS_DLL_PUBLIC guint | oid_string2subid (wmem_allocator_t *scope, const gchar *oid_str, guint32 **subids_p) |
|
WS_DLL_PUBLIC gchar * | oid_encoded2string (wmem_allocator_t *scope, const guint8 *encoded, guint len) |
|
WS_DLL_PUBLIC gchar * | rel_oid_encoded2string (wmem_allocator_t *scope, const guint8 *encoded, guint len) |
|
WS_DLL_PUBLIC gchar * | oid_subid2string (wmem_allocator_t *scope, guint32 *subids, guint len) |
|
WS_DLL_PUBLIC gchar * | rel_oid_subid2string (wmem_allocator_t *scope, guint32 *subids, guint len, gboolean is_absolute) |
|
WS_DLL_PUBLIC gchar * | oid_resolved (wmem_allocator_t *scope, guint len, guint32 *subids) |
|
WS_DLL_PUBLIC gchar * | oid_resolved_from_encoded (wmem_allocator_t *scope, const guint8 *oid, gint len) |
|
WS_DLL_PUBLIC gchar * | rel_oid_resolved_from_encoded (wmem_allocator_t *scope, const guint8 *oid, gint len) |
|
WS_DLL_PUBLIC gchar * | oid_resolved_from_string (wmem_allocator_t *scope, const gchar *oid_str) |
|
WS_DLL_PUBLIC void | oid_both (wmem_allocator_t *scope, guint oid_len, guint32 *subids, gchar **resolved_p, gchar **numeric_p) |
|
WS_DLL_PUBLIC void | oid_both_from_encoded (wmem_allocator_t *scope, const guint8 *oid, gint oid_len, gchar **resolved_p, gchar **numeric_p) |
|
WS_DLL_PUBLIC void | oid_both_from_string (wmem_allocator_t *scope, const gchar *oid_str, gchar **resolved_p, gchar **numeric_p) |
|
WS_DLL_PUBLIC oid_info_t * | oid_get (guint oid_len, guint32 *subids, guint *matched_p, guint *left_p) |
|
WS_DLL_PUBLIC oid_info_t * | oid_get_from_encoded (wmem_allocator_t *scope, const guint8 *oid, gint oid_len, guint32 **subids, guint *matched, guint *left) |
|
WS_DLL_PUBLIC oid_info_t * | oid_get_from_string (wmem_allocator_t *scope, const gchar *oid_str, guint32 **subids, guint *matched, guint *left) |
|
WS_DLL_PUBLIC void | oid_add (const char *name, guint oid_len, guint32 *subids) |
|
WS_DLL_PUBLIC void | oid_add_from_encoded (const char *name, const guint8 *oid, gint oid_len) |
|
WS_DLL_PUBLIC void | oid_add_from_string (const char *name, const gchar *oid_str) |
|
WS_DLL_PUBLIC gchar * | oid_get_default_mib_path (void) |
|