diff options
Diffstat (limited to 'gsoap-palm/palmFunctions.h')
-rw-r--r-- | gsoap-palm/palmFunctions.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gsoap-palm/palmFunctions.h b/gsoap-palm/palmFunctions.h new file mode 100644 index 0000000..641ff3e --- /dev/null +++ b/gsoap-palm/palmFunctions.h @@ -0,0 +1,49 @@ +//=================================================================================== +// +// (C) COPYRIGHT International Business Machines Corp., 2002 All Rights Reserved +// Licensed Materials - Property of IBM +// US Government Users Restricted Rights - Use, duplication or +// disclosure restricted by GSA ADP Schedule Contract with IBM Corp. +// +// IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +// ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR +// CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +// USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE +// OR PERFORMANCE OF THIS SOFTWARE. +// +// The program may be used, executed, copied, modified, and distributed +// without royalty for the purpose of developing, using, marketing, or distributing. +// +//======================================================================================= +#ifndef _PALMFUNCTIONS_H +#define _PALMFUNCTIONS_H + +#include <FloatMgr.h> +#include <sys_types.h> + +#ifdef __cplusplus +extern "C" { +#endif + + +Err palmNetLibOpen(); +Err palmNetLibClose(); + +void palmSprintf(char *str, const char *conv, ...); +#undef sprintf +#define sprintf palmSprintf +#define strncmp StrNCompare +#define strncat StrNCat +#define strerror PalmStrerror +char * PalmStrerror(int errnum); +double strtod(const char *s, char **endptr); +int palmRand(void); +#define rand palmRand + +#ifdef __cplusplus +} +#endif + +#endif |