summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/snmpd/snmpmod.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2006-02-07 15:48:37 +0000
committerharti <harti@FreeBSD.org>2006-02-07 15:48:37 +0000
commitd548c36029e34bef752ca1dee9ebf934815ff4c7 (patch)
tree3c4c21b7d9794b32fd1c3ca739efd76df2d9dbac /contrib/bsnmp/snmpd/snmpmod.h
parent89810658282acddb82032a6f1f3cfde2b7f5e036 (diff)
downloadFreeBSD-src-d548c36029e34bef752ca1dee9ebf934815ff4c7.zip
FreeBSD-src-d548c36029e34bef752ca1dee9ebf934815ff4c7.tar.gz
Vendor patch: string_get_max() function to return strings with a maximum
SNMP string length.
Diffstat (limited to 'contrib/bsnmp/snmpd/snmpmod.h')
-rw-r--r--contrib/bsnmp/snmpd/snmpmod.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/bsnmp/snmpd/snmpmod.h b/contrib/bsnmp/snmpd/snmpmod.h
index 4ce502c..18457bf 100644
--- a/contrib/bsnmp/snmpd/snmpmod.h
+++ b/contrib/bsnmp/snmpd/snmpmod.h
@@ -400,6 +400,7 @@ int string_save(struct snmp_value *, struct snmp_context *, ssize_t, u_char **);
void string_commit(struct snmp_context *);
void string_rollback(struct snmp_context *, u_char **);
int string_get(struct snmp_value *, const u_char *, ssize_t);
+int string_get_max(struct snmp_value *, const u_char *, ssize_t, size_t);
void string_free(struct snmp_context *);
int ip_save(struct snmp_value *, struct snmp_context *, u_char *);
OpenPOWER on IntegriCloud