diff options
| author | Sascha Schumann <sas@php.net> | 1999-05-21 10:06:25 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-05-21 10:06:25 +0000 |
| commit | b57dc275950b228f2399990471c4f22b7d154c6c (patch) | |
| tree | a89fe99e356b218591b0b0b392862e0b9ddd4e7e /ext/snmp/snmp.c | |
| parent | 4fe8fe715e4347a4063a57e1a9fd6dc013ca9ee0 (diff) | |
| download | php-git-b57dc275950b228f2399990471c4f22b7d154c6c.tar.gz | |
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Diffstat (limited to 'ext/snmp/snmp.c')
| -rw-r--r-- | ext/snmp/snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 5943decc83..7f11bb8413 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -268,14 +268,14 @@ retry: /* {{{ proto string snmpget(string host, string community, string object_id [, int timeout [, int retries]]) Fetch an SNMP object */ -void php3_snmpget(INTERNAL_FUNCTION_PARAMETERS) { +PHP_FUNCTION(snmpget) { _php3_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,1); } /* }}} */ /* {{{ proto string snmpwalk(string host, string community, string object_id [, int timeout [, int retries]]) Return all objects under the specified object id */ -void php3_snmpwalk(INTERNAL_FUNCTION_PARAMETERS) { +PHP_FUNCTION(snmpwalk) { return _php3_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,2); } /* }}} */ |
