summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/ber.h
AgeCommit message (Collapse)Author
2009-01-03Sync with ypldap. Add ber_{add,get}_enumerated.aschrijver
OK reyk@
2008-03-18remove ber_add_astring and make it the default behaviour inReyk Floeter
ber_add_string, ber_add_nstring, and ber_add_bitstring to allocate and copy the provided buffer instead of just attaching it to the ber element. this may add some overhead but fixes and avoids some bugs with static buffers and simplifies the ber api again. From Matthew at Dempsky dot org With input from claudio@
2008-03-14add a new ber function ber_add_astring() that strdups the string andReyk Floeter
sets the be_free flag (which is required in some cases). this will make it easier because it is done manually at some places in the code. discussed with dlg
2008-02-09fix a memleak in the snmp engine and the ber i/o; free the dynamicallyReyk Floeter
allocated ber write buffer after using it. extend the ber api with a ber_free() function to do the required cleanup. Thanks to Will Backman (bitgeist at yahoo dot com) for testing and for figuring out that there was a memleak.
2008-01-03scalars have an index of 0 in the returned oid (like sysDescr.0).Reyk Floeter
2007-12-28shrink the max number of supported OID elements from 128 to 32.Reyk Floeter
2007-12-05Start working on snmpd(8) and snmpctl(8), a lightweight SNMP implementationReyk Floeter
for OpenBSD. SNMP is a necessary evil. This is work in progress, don't expect too much from it yet. ok deraadt@