src/dbfs/common.c
changeset 29 5de62ca9a5aa
parent 28 e944453ca924
child 30 d8fabd347a8e
equal deleted inserted replaced
28:e944453ca924 29:5de62ca9a5aa
     1 
     1 
     2 #include <string.h>
     2 #include <string.h>
     3 
     3 
     4 #include "common.h"
     4 #include "dbfs.h"
       
     5 #include "../lib/log.h"
     5 
     6 
     6 mode_t _dbfs_mode (const char *type) {
     7 mode_t _dbfs_mode (const char *type) {
     7     if (!strcmp(type, "DIR"))
     8     if (!strcmp(type, "DIR"))
     8         return S_IFDIR;
     9         return S_IFDIR;
     9 
    10