diff options
| author | jsorg71 <jsorg71> | 2007-10-28 05:49:08 +0000 |
|---|---|---|
| committer | jsorg71 <jsorg71> | 2007-10-28 05:49:08 +0000 |
| commit | 30492c098840916b0a99f6c95ad5516c18a081d0 (patch) | |
| tree | ed763e523b0bf1cd06cea67904ff6e3802f47e61 /common/file.h | |
| parent | d0c70a89b25b5b1bcddf51db3d7af3b13dd753c8 (diff) | |
| download | xrdp-proprietary-30492c098840916b0a99f6c95ad5516c18a081d0.tar.gz xrdp-proprietary-30492c098840916b0a99f6c95ad5516c18a081d0.zip | |
added by_name functions that can read any file size
Diffstat (limited to 'common/file.h')
| -rw-r--r-- | common/file.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/common/file.h b/common/file.h index 6f0dfc8f..c019ae9c 100644 --- a/common/file.h +++ b/common/file.h @@ -30,7 +30,12 @@ int APP_CC file_read_sections(int fd, struct list* names); int APP_CC -file_read_section(int fd, const char* section, struct list* names, - struct list* values); +file_by_name_read_sections(const char* file_name, struct list* names); +int APP_CC +file_read_section(int fd, const char* section, + struct list* names, struct list* values); +int APP_CC +file_by_name_read_section(const char* file_name, const char* section, + struct list* names, struct list* values); #endif |
