#pragma once #include 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);