diff options
Diffstat (limited to 'src/libs6rcd/s6rcd_db_load.c')
-rw-r--r-- | src/libs6rcd/s6rcd_db_load.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libs6rcd/s6rcd_db_load.c b/src/libs6rcd/s6rcd_db_load.c new file mode 100644 index 0000000..68aa11e --- /dev/null +++ b/src/libs6rcd/s6rcd_db_load.c @@ -0,0 +1,17 @@ +/* ISC license. */ + +#include <string.h> +#include <errno.h> +#include <unistd.h> +#include <limits.h> +#include <stdlib.h> +#include <sys/stat.h> + +#include <s6-rc/db.h> +#include "s6rcd.h" + +int s6rcd_db_load (s6rc_db_t *db, char const *compiled) +{ + if (!s6rcd_db_read_sizes(db, compiled)) return 0 ; + +} |