Overview
Comment: | Working on creating an SQLite interface |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
676f99c72e881fdf4d897dae482b156e |
User & Date: | rkeene on 2014-09-08 04:25:02 |
Other Links: | manifest | tags |
Context
2014-09-08
| ||
04:34 | More work towards SQLite3 integration check-in: 76ac4557f6 user: rkeene tags: trunk | |
04:25 | Working on creating an SQLite interface check-in: 676f99c72e user: rkeene tags: trunk | |
03:18 | More rework check-in: ebf9995a42 user: rkeene tags: trunk | |
Changes
Modified appfs.c from [4ce583b799] to [8a456b75d5].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | + + - + + + + + | #define FUSE_USE_VERSION 26 #include <sqlite3.h> #include <string.h> #include <stdarg.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <fuse.h> #include <tcl.h> #define APPFS_CACHEDIR "/tmp/appfs-cache" #define APPFS_DEBUG(x...) { fprintf(stderr, "%i:%s: ", __LINE__, __func__); fprintf(stderr, x); fprintf(stderr, "\n"); } struct appfs_thread_data { |
︙ | |||
145 146 147 148 149 150 151 | 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | - + - + | static struct appfs_package *appfs_getindex(const char *hostname, int *package_count_p) { int tcl_ret; if (package_count_p == NULL) { return(NULL); } |
︙ | |||
218 219 220 221 222 223 224 | 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | - - + + - + - + - + - + - + - + | .read = appfs_fuse_read }; int main(int argc, char **argv) { const char *cachedir = APPFS_CACHEDIR; int tcl_ret; |