Lines Matching refs:snmpval
240 static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval, int valueretrieval) in php_snmp_getvalue() argument
362 object_init(snmpval); in php_snmp_getvalue()
363 add_property_long(snmpval, "type", vars->type); in php_snmp_getvalue()
364 add_property_zval(snmpval, "value", &val); in php_snmp_getvalue()
366 ZVAL_COPY(snmpval, &val); in php_snmp_getvalue()
395 zval snmpval; in php_snmp_internal() local
506 ZVAL_NULL(&snmpval); in php_snmp_internal()
507 php_snmp_getvalue(vars, &snmpval, objid_query->valueretrieval); in php_snmp_internal()
514 add_next_index_zval(return_value, &snmpval); in php_snmp_internal()
525 add_assoc_zval(return_value, objid_query->vars[count].oid, &snmpval); in php_snmp_internal()
542 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
545 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
548 ZVAL_COPY_VALUE(return_value, &snmpval); in php_snmp_internal()