Lines Matching refs:snmpval
258 static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval, int valueretrieval) in php_snmp_getvalue() argument
380 object_init(snmpval); in php_snmp_getvalue()
381 add_property_long(snmpval, "type", vars->type); in php_snmp_getvalue()
382 add_property_zval(snmpval, "value", &val); in php_snmp_getvalue()
384 ZVAL_COPY(snmpval, &val); in php_snmp_getvalue()
413 zval snmpval; in php_snmp_internal() local
529 ZVAL_NULL(&snmpval); in php_snmp_internal()
530 php_snmp_getvalue(vars, &snmpval, objid_query->valueretrieval); in php_snmp_internal()
537 add_next_index_zval(return_value, &snmpval); in php_snmp_internal()
548 add_assoc_zval(return_value, objid_query->vars[count].oid, &snmpval); in php_snmp_internal()
565 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
568 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
571 ZVAL_COPY_VALUE(return_value, &snmpval); in php_snmp_internal()