FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/inc/tools.h @ 316:79080922d8e4
GPF: FRAME C sources and include files imported from LoCosto source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 10 Apr 2014 04:06:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
315:1b4beffc8055 | 316:79080922d8e4 |
---|---|
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 |