From 4875a3dd9b183dcd2256e2abfc4ccf7484c233b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 7 Dec 2022 13:17:14 +0100 Subject: New upstream version 4.0.2 --- src/include/xbuda.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 src/include/xbuda.h (limited to 'src/include/xbuda.h') diff --git a/src/include/xbuda.h b/src/include/xbuda.h new file mode 100755 index 0000000..84eccee --- /dev/null +++ b/src/include/xbuda.h @@ -0,0 +1,52 @@ +/* xbuda.h + +XBase64 Software Library + +Copyright (c) 1997,2003,2014,2022 Gary A Kunkel + +The xb64 software library is covered under the terms of the GPL Version 3, 2007 license. + +Email Contact: + + XDB-devel@lists.sourceforge.net + XDB-users@lists.sourceforge.net + +This class manages the user data area (UDA) + +*/ + + +#ifndef __XB_XBUDA_H__ +#define __XB_XBUDA_H__ + +#ifdef CMAKE_COMPILER_IS_GNUCC +#pragma interface +#endif + + +#ifdef XB_EXPRESSION_SUPPORT + + +namespace xb{ + +class XBDLLEXPORT xbUda { + + public: + xbUda(); + ~xbUda(); + + xbInt16 AddTokenForKey( const xbString &sKey, const xbString &sToken ); + void Clear(); + xbInt16 DelTokenForKey( const xbString &sKey ); + xbInt16 GetTokenCnt() const; + xbInt16 GetTokenForKey( const xbString &sKey, xbString &sData ); + xbInt16 UpdTokenForKey( const xbString &sKey, const xbString &sToken ); + void DumpUda() const; + + private: + xbLinkListOrd llOrd; + +}; +} /* namespace */ +#endif /* XB_EXPRESSION_SUPPORT */ +#endif /* __XBUDA_H__ */ \ No newline at end of file -- cgit v1.2.3