2 ***************************************************************************
4 * 4F, No. 2 Technology 5th Rd.
5 * Science-based Industrial Park
6 * Hsin-chu, Taiwan, R.O.C.
8 * (c) Copyright 2002, Ralink Technology, Inc.
10 * All rights reserved. Ralink's source code is an unpublished work and the
11 * use of a copyright notice does not imply otherwise. This source code
12 * contains confidential trade secret material of Ralink Tech. Any attemp
13 * or participation in deciphering, decoding, reverse engineering or in any
14 * way altering the source code is stricitly prohibited, unless the prior
15 * written consent of Ralink Technology, Inc. is obtained.
16 ***************************************************************************
22 Implement getkeystring / writekeystring like windows API.
26 -------- ---------- ----------------------------------------------
27 Paul Wu 01-22-2003 created
38 #define MAX_CHARS 256 // Maximum characters/line in Configuration File.
49 int isfound(char *ptr
, char *ini_buffer
);
50 char *find_header(char *ini_buffer
, char *header_name
);
51 int get_parameter(char *str
, int strsize
, char *key
, char *offset
);
52 char *find_parameter(char *key
, char *offset
, int *length
);
53 int writekeystring(char *section
, char *key
, char *str
, char *path
, char *filename
);
54 int getkeystring(char *section
, char *key
, char *dest
, int strsize
, char *path
, char *filename
);