10/4
This commit is contained in:
1 parent
c432274936
commit
ee4bcc3b77
27 files changed
+2719
-589
No files matched your search
@@ -43,16 +43,6 @@ typedef struct {
|
||||
}
|
||||
gl_pkg_t;
|
||||
|
||||
extern const dir_t gl_root;
|
||||
|
||||
extern const dir_t gl_usr;
|
||||
extern const dir_t gl_usr_index;
|
||||
extern const dir_t gl_usr_store;
|
||||
|
||||
extern const dir_t gl_sys;
|
||||
extern const dir_t gl_sys_index;
|
||||
extern const dir_t gl_sys_store;
|
||||
|
||||
extern dep_t null_dep;
|
||||
extern conf_t null_conf;
|
||||
extern gl_pkg_t empty;
|
||||
@@ -78,8 +68,19 @@ dir_t gl_return_dir_and_ver(const dir_t *base, gl_pkg_t *pkg, mode_t mode);
|
||||
void gl_free_path(char *path);
|
||||
void gl_free_dir(dir_t *dir);
|
||||
|
||||
typedef enum {
|
||||
GL_CONF_OK = 0,
|
||||
GL_CONF_ERR_READ = 1,
|
||||
GL_CONF_ERR_MISSING = 2,
|
||||
GL_CONF_ERR_TYPE = 3
|
||||
} gl_conf_status_t;
|
||||
|
||||
#define GL_CONF_PATH "/etc/glacier/glacier.conf"
|
||||
|
||||
gl_conf_status_t gl_conf_get_int(const char *path, const char *key, int *out);
|
||||
|
||||
bool gl_valid_pkg_ident(const char *s);
|
||||
int gl_gpm2gpkg(const char *filename, gl_pkg_t *pkg);
|
||||
int gl_prepare_pkgdir(gl_pkg_t *pkg, bool is_syspkg);
|
||||
char *join_with_cwd(const char *path);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user