Lines Matching refs:snmpval
441 static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval TSRMLS_DC) in php_snmp_getvalue()
458 ZVAL_STRING(snmpval, buf, 1); in php_snmp_getvalue()
523 *snmpval = *val; in php_snmp_getvalue()
524 zval_copy_ctor(snmpval); in php_snmp_getvalue()
526 object_init(snmpval); in php_snmp_getvalue()
527 add_property_long(snmpval, "type", vars->type); in php_snmp_getvalue()
528 add_property_zval(snmpval, "value", val); in php_snmp_getvalue()
564 zval *snmpval = NULL; in php_snmp_internal() local
650 MAKE_STD_ZVAL(snmpval); in php_snmp_internal()
651 php_snmp_getvalue(vars, snmpval TSRMLS_CC); in php_snmp_internal()
655 *return_value = *snmpval; in php_snmp_internal()
657 zval_ptr_dtor(&snmpval); in php_snmp_internal()
662 *return_value = *snmpval; in php_snmp_internal()
668 add_next_index_zval(return_value,snmpval); /* Add to returned array */ in php_snmp_internal()
675 add_assoc_zval(return_value,buf2,snmpval); in php_snmp_internal()