diff options
author | lloyd <[email protected]> | 2006-09-10 03:18:35 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-10 03:18:35 +0000 |
commit | 3af61dd588df052eb100e0c581860edfc1cb09c3 (patch) | |
tree | 1d9466c23241e8963f9be567496716348887ab5a /include/oids.h | |
parent | 9e26ffdb32e39ed58b99ab5f0a4f4dc2496127fc (diff) |
Hack around some Visual Studio bugs that I can't seem to find good solutions
for.
Diffstat (limited to 'include/oids.h')
-rw-r--r-- | include/oids.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/oids.h b/include/oids.h index edb3b2bd4..7b5f775c6 100644 --- a/include/oids.h +++ b/include/oids.h @@ -18,19 +18,16 @@ namespace OIDS { void add_oid(const OID&, const std::string&); /************************************************* -* Do an OID to string lookup * +* See if an OID exists in the internal table * *************************************************/ -std::string lookup(const OID&); +bool have_oid(const std::string&); /************************************************* -* Do a string to OID lookup * +* Perform OID<->string mappings * *************************************************/ +std::string lookup(const OID&); OID lookup(const std::string&); - -/************************************************* -* See if an OID exists in the internal table * -*************************************************/ -bool have_oid(const std::string&); +bool name_of(const OID&, const std::string&); } |