summaryrefslogtreecommitdiffstats
path: root/src/pacsync.h
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2002-08-09 20:03:48 +0200
committerJudd Vinet <judd@archlinux.org>2002-08-09 20:03:48 +0200
commit62a783a6bd7649ccd162e32278098080bf450c7b (patch)
tree16cb935e494f3ae217ca15a1c22257302b8832b5 /src/pacsync.h
parent20b746229368e1e24b2192529c1386438413998b (diff)
downloadpacman-62a783a6bd7649ccd162e32278098080bf450c7b.tar.gz
pacman-62a783a6bd7649ccd162e32278098080bf450c7b.tar.xz
Imported from pacman-2.0.tar.gz
Diffstat (limited to 'src/pacsync.h')
-rw-r--r--src/pacsync.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/pacsync.h b/src/pacsync.h
new file mode 100644
index 00000000..d7c666f3
--- /dev/null
+++ b/src/pacsync.h
@@ -0,0 +1,29 @@
+/*
+ * pacman
+ *
+ * Copyright (c) 2002 by Judd Vinet <jvinet@zeroflux.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * USA.
+ */
+#ifndef _PAC_PACSYNC_H
+#define _PAC_PACSYNC_H
+
+int sync_synctree();
+int downloadfiles(char *server, char *remotepath, char *localpath, PMList *files);
+
+#endif
+
+/* vim: set ts=2 sw=2 noet: */