FreeCalypso > hg > leo2moko-debug
comparison gpf/INC/tools.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
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 |