Update of /cvsroot/pure-data/externals/iem/snmp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15485
Modified Files: Make.config.in Makefile get.c Added Files: get-help.pd Removed Files: snmpget-help.pd Log Message: better help-files; fixed "install" target
Index: get.c =================================================================== RCS file: /cvsroot/pure-data/externals/iem/snmp/get.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** get.c 15 Mar 2007 21:23:56 -0000 1.2 --- get.c 16 Mar 2007 12:20:42 -0000 1.3 *************** *** 229,236 **** init_snmp("snmp4pd");
! snmpget_class = class_new(gensym("snmpget"), (t_newmethod)snmpget_new, 0, sizeof(t_snmpget), 0, A_GIMME, 0); class_addcreator((t_newmethod)snmpget_new, gensym("snmp/get"), 0); ! //class_addcreator((t_newmethod)snmpget_new, gensym("get"), 0);
class_addmethod(snmpget_class, (t_method)snmpget_get, gensym("get"), A_SYMBOL, 0); --- 229,236 ---- init_snmp("snmp4pd");
! snmpget_class = class_new(gensym("get"), (t_newmethod)snmpget_new, 0, sizeof(t_snmpget), 0, A_GIMME, 0); class_addcreator((t_newmethod)snmpget_new, gensym("snmp/get"), 0); ! class_addcreator((t_newmethod)snmpget_new, gensym("snmpget"), 0);
class_addmethod(snmpget_class, (t_method)snmpget_get, gensym("get"), A_SYMBOL, 0);
--- NEW FILE: get-help.pd --- #N canvas 39 0 849 551 10; #X msg 207 274 disconnect; #X msg 139 152 get SNMPv2-MIB::system.sysUpTime.0; #X obj 121 379 print result; #X msg 202 177 get SNMPv2-MIB::system.sysDescr.0; #X msg 205 204 get system.sysDescr.0; #X obj 121 299 snmp/get; #X msg 121 92 connect localhost public; #X floatatom 172 321 2 0 0 1 status - -; #X text 304 271 disconnect an open connection; #X text 317 89 connect to server "localhost" in community "public" ; #X text 470 154 query a MIB; #X text 110 22 [snmp/get] communicates with a network entity usigng SNMP GET requests; #X connect 0 0 5 0; #X connect 1 0 5 0; #X connect 3 0 5 0; #X connect 4 0 5 0; #X connect 5 0 2 0; #X connect 5 1 7 0; #X connect 6 0 5 0;
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/iem/snmp/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 15 Mar 2007 21:23:56 -0000 1.2 --- Makefile 16 Mar 2007 12:20:42 -0000 1.3 *************** *** 78,84 **** install-bin: -install -d $(INSTALL_BIN) ! -install -m 644 $(LIBNAME).$(EXT) $(INSTALL_BIN)
install-doc:
everything: clean all install distclean --- 78,86 ---- install-bin: -install -d $(INSTALL_BIN) ! -install -m 644 *.$(EXT) $(INSTALL_BIN)
install-doc: + -install -d $(INSTALL_DOC) + -install -m 644 *-help.pd $(INSTALL_DOC)
everything: clean all install distclean
--- snmpget-help.pd DELETED ---
Index: Make.config.in =================================================================== RCS file: /cvsroot/pure-data/externals/iem/snmp/Make.config.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Make.config.in 15 Mar 2007 21:23:56 -0000 1.2 --- Make.config.in 16 Mar 2007 12:20:42 -0000 1.3 *************** *** 8,13 **** PREFIX =@prefix@@PDLIBDIR@
! INSTALL_BIN=$(DESTDIR)$(PREFIX)/lib/pd/extra/$(LIBNAME) ! INSTALL_DOC=$(DESTDIR)$(PREFIX)/lib/pd/@REFERENCEPATH@$(LIBNAME)
EXT = @EXT@ --- 8,13 ---- PREFIX =@prefix@@PDLIBDIR@
! INSTALL_BIN=$(DESTDIR)$(PREFIX)/extra/$(LIBNAME) ! INSTALL_DOC=$(DESTDIR)$(PREFIX)/@REFERENCEPATH@$(LIBNAME)
EXT = @EXT@