aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-03-08 20:05:46 -0900
committerDavid M. Syzdek <david@syzdek.net>2022-03-08 20:05:46 -0900
commit32c2e2ddbdc4bc3622caeabf519f1fb4ca45c914 (patch)
treed6c7a7dd08c7802e6e950e8b5588f7a00f638065 /include
parent0f00b5d527ec6c2e7f41f2084126bb6035932a2e (diff)
downloadtinyrad-32c2e2ddbdc4bc3622caeabf519f1fb4ca45c914.tar.gz
tinyrad-32c2e2ddbdc4bc3622caeabf519f1fb4ca45c914.tar.bz2
tinyrad-32c2e2ddbdc4bc3622caeabf519f1fb4ca45c914.tar.xz
tinyrad-32c2e2ddbdc4bc3622caeabf519f1fb4ca45c914.zip
libtrutils: adding lfile.c
Diffstat (limited to 'include')
-rw-r--r--include/trutils.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/trutils.h b/include/trutils.h
index e9d44bf..4c1a033 100644
--- a/include/trutils.h
+++ b/include/trutils.h
@@ -87,6 +87,8 @@
87////////////////// 87//////////////////
88#pragma mark - Data Types 88#pragma mark - Data Types
89 89
90typedef struct _trutils_file_buffer TRUtilsFile;
91
90 92
91///////////////// 93/////////////////
92// // 94// //
@@ -105,6 +107,28 @@ extern const char * program_name;
105////////////////// 107//////////////////
106#pragma mark - Prototypes 108#pragma mark - Prototypes
107 109
110//-----------------//
111// file prototypes //
112//-----------------//
113#pragma mark file prototypes
114
115void
116trutils_close(
117 TRUtilsFile * fb );
118
119
120TRUtilsFile *
121trutils_open(
122 unsigned opts,
123 const char * filename );
124
125
126int
127trutils_readline(
128 unsigned opts,
129 TRUtilsFile * fb );
130
131
108//--------------------// 132//--------------------//
109// logging prototypes // 133// logging prototypes //
110//--------------------// 134//--------------------//