diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-01-01 15:58:49 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-01-01 15:58:49 +0000 |
commit | 34aede231f099ce4fd2e44a7d783527d946c82ca (patch) | |
tree | 3f4073501b0b533192bcdd5692beb4f48ae88338 /ASNMP | |
parent | be5bc18f9a2eb60e94fae8cb36c9108bd0d538ed (diff) | |
download | ATCD-34aede231f099ce4fd2e44a7d783527d946c82ca.tar.gz |
ChangeLogTag: Thu Jan 1 15:56:09 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/asnmp/asn1.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ASNMP/asnmp/asn1.cpp b/ASNMP/asnmp/asn1.cpp index ccb2e699456..32a400fe5ee 100644 --- a/ASNMP/asnmp/asn1.cpp +++ b/ASNMP/asnmp/asn1.cpp @@ -105,7 +105,7 @@ u_char * asn1::parse_int( u_char *data, value = (value << 8) | *bufp++; *intp = value; return bufp; -}; +} /* @@ -158,7 +158,7 @@ u_char * asn1::parse_unsigned_int( u_char *data, value = (value << 8) | *bufp++; *intp = value; return bufp; -}; +} /* @@ -214,7 +214,7 @@ u_char * asn1::build_int( u_char *data, integer <<= 8; } return data; -}; +} /* @@ -280,7 +280,7 @@ u_char * asn1::build_unsigned_int( u_char *data, integer <<= 8; } return data; -}; +} /* @@ -327,7 +327,7 @@ u_char * asn1::parse_string( u_char *data, *strlength = (int)asn_length; *datalength -= (int)asn_length + (bufp - data); return bufp + asn_length; -}; +} /* @@ -362,7 +362,7 @@ u_char * asn1::build_string( u_char *data, ACE_OS::memcpy((u_char *)data,(u_char *)string, strlength); *datalength -= strlength; return data + strlength; -}; +} /* @@ -492,7 +492,7 @@ u_char * asn1::parse_length( u_char *data, *length = (long)lengthbyte; return data + 1; } -}; +} u_char *asn1::build_length( u_char *data, int *datalength, @@ -738,7 +738,7 @@ u_char *asn1::build_null( u_char *data, * ASN.1 null ::= 0x05 0x00 */ return asn1::build_header(data, datalength, type, 0); -}; +} /* * parse_bitstring - pulls a bitstring out of an ASN bitstring type. @@ -1177,7 +1177,7 @@ u_char *cmu_snmp::auth_build( u_char *data, } return (u_char *)data; -}; +} // build a variable binding |