summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-10-15 03:15:52 +0000
committerewt <devnull@localhost>1996-10-15 03:15:52 +0000
commit4f6655c287738665b16dc5103a3e68c5939d900c (patch)
treecadb6e595f6b3987f4445791ff4a094649eb724a /url.h
parent32095d5f4ab554b863cae3cbac77fb49e6e48a4f (diff)
downloadlibrpm-tizen-4f6655c287738665b16dc5103a3e68c5939d900c.tar.gz
librpm-tizen-4f6655c287738665b16dc5103a3e68c5939d900c.tar.bz2
librpm-tizen-4f6655c287738665b16dc5103a3e68c5939d900c.zip
Initial revision
CVS patchset: 1098 CVS date: 1996/10/15 03:15:52
Diffstat (limited to 'url.h')
-rw-r--r--url.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/url.h b/url.h
new file mode 100644
index 000000000..5403b19bf
--- /dev/null
+++ b/url.h
@@ -0,0 +1,17 @@
+#ifndef H_URL
+#define H_URL
+
+#include "ftp.h"
+
+/* right now, only ftp type URL's are supported */
+
+struct urlContext {
+ int ftpControl;
+};
+
+int urlIsURL(char * url);
+int urlGetFile(char * url, char * dest);
+int urlGetFd(char * url, struct urlContext * context);
+int urlFinishedFd(struct urlContext * context);
+
+#endif