FreeCalypso > hg > fc-magnetite
comparison src/gpf3/inc/tools.h @ 2:c41a534f33c6
src/gpf3: preened GPF goo from TCS3.2
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 25 Sep 2016 23:52:50 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:864b8cc0cf63 | 2:c41a534f33c6 |
|---|---|
| 1 /* | |
| 2 +------------------------------------------------------------------------------ | |
| 3 | File: tools.h | |
| 4 +------------------------------------------------------------------------------ | |
| 5 | Copyright 2002 Texas Instruments Berlin, AG | |
| 6 | All rights reserved. | |
| 7 | | |
| 8 | This file is confidential and a trade secret of Texas | |
| 9 | Instruments Berlin, AG | |
| 10 | The receipt of or possession of this file does not convey | |
| 11 | any rights to reproduce or disclose its contents or to | |
| 12 | manufacture, use, or sell anything it may describe, in | |
| 13 | whole, or in part, without the specific written consent of | |
| 14 | Texas Instruments Berlin, AG. | |
| 15 +----------------------------------------------------------------------------- | |
| 16 | Purpose : Definitions and prototypes. | |
| 17 +----------------------------------------------------------------------------- | |
| 18 */ | |
| 19 | |
| 20 #ifndef __TOOLS_H__ | |
| 21 #define __TOOLS_H__ | |
| 22 | |
| 23 /*==== INCLUDES =============================================================*/ | |
| 24 | |
| 25 /*==== CONSTS ===============================================================*/ | |
| 26 | |
| 27 #define CHARS_FOR_8BIT 2 | |
| 28 #define CHARS_FOR_16BIT 4 | |
| 29 #define CHARS_FOR_32BIT 8 | |
| 30 | |
| 31 /*==== TYPES ================================================================*/ | |
| 32 | |
| 33 | |
| 34 /*==== PROTOTYPES ===========================================================*/ | |
| 35 | |
| 36 unsigned int GetNextToken (char *source, char *token, char const *seperators); | |
| 37 char *HexToASCII (ULONG value, char *ptr, int num); | |
| 38 unsigned int ASCIIToHex (char *p, int num); | |
| 39 char* InsertString (char *string, char *p, int num); | |
| 40 char *rm_path ( const char *file ); | |
| 41 | |
| 42 #endif | |
| 43 |
