git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First version, development moved to 5110-connected machine
[gnokii.git]
/
include
/
files
/
cfgreader.h
diff --git
a/include/files/cfgreader.h
b/include/files/cfgreader.h
index
15513d7
..
7c0ebba
100644
(file)
--- a/
include/files/cfgreader.h
+++ b/
include/files/cfgreader.h
@@
-35,6
+35,8
@@
struct CFG_Header {
char *section;
};
char *section;
};
+#ifndef UCLINUX
+
/* Function prototypes */
struct CFG_Header *CFG_ReadFile(char *filename);
/* Function prototypes */
struct CFG_Header *CFG_ReadFile(char *filename);
@@
-43,10
+45,16
@@
char *CFG_Set(struct CFG_Header *cfg, char *section, char *key,
char *value);
int CFG_WriteFile(struct CFG_Header *cfg, char *filename);
char *value);
int CFG_WriteFile(struct CFG_Header *cfg, char *filename);
+#endif /* UCLINUX */
+
int CFG_ReadConfig(char **model, char **port, char **initlength,
int CFG_ReadConfig(char **model, char **port, char **initlength,
- char **connection, char **bindir,
char **synchronizetime,
+ char **connection, char **bindir,
bool isgnokiid);
bool isgnokiid);
+#ifndef UCLINUX
+
struct CFG_Header *CFG_FindGnokiirc();
struct CFG_Header *CFG_FindGnokiirc();
+#endif /* UCLINUX */
+
#endif /* _CFGREADER_H */
#endif /* _CFGREADER_H */