home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- // DIVE Laboratories, Inc.
- // Copyright(c); 1995
- // All rights reserved.
- // FILE: strUtils.hpp
- //
- // DESCRIPTION
- // This file provides function prototypes for string utilities
- //
- // Author: M. Doucet
- //
- // Modification History:
- // 4/25/95 Created
- // 4/27/95 Change to be unified socket class
- //
- //**********************************************************************/
- #ifndef _STRUTILS_HPP
- #define _STRUTILS_HPP
-
- #ifdef VXWORKS
- #include <vxWorks.h>
- #endif
-
- extern float frnd(float fnum);
- extern void trimFrontSpace(char *buf);
- extern void localToURL(char *bufIn, char *bufOut);
- extern void URLtoLocal(char *bufIn, char *bufOut);
- extern int get_integer(int *number);
- extern int get_float(float *number);
- extern void formatFloat(char *buf, float value, int width,
- int after, int showZero);
- extern int stringToDoubles(char *string, double *number, int count);
- extern int stringToFloats(char *string, float *number, int count);
- extern int stringToIntegers(char *string, int *number, int count);
- extern void reduce(int *frac, int *base);
-
- #endif
-
-