CVS update: php3/functions
| From: | rasmus | Date: | Fri, 06 Nov 1998 00:29:18 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2237@lists.php.net to get a copy of this message | ||
Date: Thursday November 5, 1998 @ 19:29
Author: rasmus
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv29604/functions
Modified Files:
snmp.c
Log Message:
Doc prototypes and descriptions for SNMP module
Index: php3/functions/snmp.c
diff -c php3/functions/snmp.c:1.3 php3/functions/snmp.c:1.4
*** php3/functions/snmp.c:1.3 Tue Nov 3 10:52:39 1998
--- php3/functions/snmp.c Thu Nov 5 19:29:17 1998
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: snmp.c,v 1.3 1998/11/03 15:52:39 rasmus Exp $ */
#include "php.h"
#include "internal_functions.h"
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: snmp.c,v 1.4 1998/11/06 00:29:17 rasmus Exp $ */
#include "php.h"
#include "internal_functions.h"
***************
*** 238,250 ****
--- 238,256 ----
snmp_close(ss);
}
+ /* {{{ proto string snmpget(string host, string community, string object_id [, int timeout [, int
retries]])
+ Fetch an SNMP object */
void php3_snmpget(INTERNAL_FUNCTION_PARAMETERS) {
_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) {
return _php3_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,2);
}
+ /* }}} */
#endif
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net