aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorJason Woodward2004-05-25 02:17:00 +0000
committerJason Woodward2004-05-25 02:17:00 +0000
commitc330add138bf7a03bf070502016e3f40763f3c63 (patch)
tree8d8cfe116a9858e388330a1ebe9fde243b05fe32 /src/common.h
parent6fcf40f1bbab7847f20a9000bfee28a36dfb41a6 (diff)
downloadslapt-get-c330add138bf7a03bf070502016e3f40763f3c63.tar.gz
moved create_dir_structure() and gen_md5_sum_of_file() and to common.[ch], created gen_pkg_file_name() and gen_pkg_url() functions
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 3df6857..bf22594 100644
--- a/src/common.h
+++ b/src/common.h
@@ -34,3 +34,7 @@ FILE *open_file(const char *file_name,const char *mode);
void init_regex(sg_regex *regex_t, const char *regex_string);
void execute_regex(sg_regex *regex_t,const char *string);
void free_regex(sg_regex *regex_t);
+void create_dir_structure(const char *dir_name);
+/* generate an md5sum of filehandle */
+void gen_md5_sum_of_file(FILE *f,char *result_sum);
+