13 lines
209 B
C
13 lines
209 B
C
#pragma once
|
|
#include <stdbool.h>
|
|
|
|
typedef struct ctx {
|
|
char *home_path;
|
|
char *lock_path;
|
|
char *tmp_path;
|
|
char *dir_path;
|
|
} ctx_t;
|
|
|
|
bool ctx_init(ctx_t *ctx, char *homedir);
|
|
void ctx_free(ctx_t *ctx);
|