| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | /******************************************************************************
|
| 2 | *(C) Copyright 2014 Marvell International Ltd.
|
| 3 | * All Rights Reserved
|
| 4 | ******************************************************************************/
|
| 5 | /*******************************************************************************
|
| 6 | *
|
| 7 | * Filename: String.h
|
| 8 | *
|
| 9 | * Authors: Boaz Sommer
|
| 10 | *
|
| 11 | * Description: A String class - holds a string
|
| 12 | *
|
| 13 | * HISTORY:
|
| 14 | *
|
| 15 | *
|
| 16 | *
|
| 17 | * Notes:
|
| 18 | *
|
| 19 | ******************************************************************************/
|
| 20 | #ifndef __STRING_H__
|
| 21 | #define __STRING_H__
|
| 22 |
|
| 23 |
|
| 24 | typedef void * STRING;
|
| 25 |
|
| 26 | #ifdef __cplusplus
|
| 27 | extern "C" {
|
| 28 | #endif
|
| 29 | STRING *StringInit (STRING *pt);
|
| 30 | void StringDeinit (STRING *pt);
|
| 31 | void StringSet (STRING *pt, const char *s);
|
| 32 | char *StringGet (STRING *pt);
|
| 33 |
|
| 34 | #ifdef __cplusplus
|
| 35 | }
|
| 36 | #endif
|
| 37 |
|
| 38 | #endif //__STRING_H__
|
| 39 |
|