summaryrefslogtreecommitdiff
path: root/methods/connect.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:53 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:53 +0000
commit0837bd25607acd90944a4bfded58d582371ba112 (patch)
treed18775a4fdba1b54f7de5a542340eb085c64dc52 /methods/connect.h
parentb3e53cecf4e761ff9d9b0a139ca71f0d67848041 (diff)
Multiprotocol connect
Author: jgg Date: 1999-05-29 03:25:03 GMT Multiprotocol connect
Diffstat (limited to 'methods/connect.h')
-rw-r--r--methods/connect.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/methods/connect.h b/methods/connect.h
new file mode 100644
index 000000000..3af499236
--- /dev/null
+++ b/methods/connect.h
@@ -0,0 +1,19 @@
+// -*- mode: cpp; mode: fold -*-
+// Description /*{{{*/
+// $Id: connect.h,v 1.1 1999/05/29 03:25:03 jgg Exp $
+/* ######################################################################
+
+ Connect - Replacement connect call
+
+ ##################################################################### */
+ /*}}}*/
+#ifndef CONNECT_H
+#define CONNECT_H
+
+#include <string>
+#include <apt-pkg/acquire-method.h>
+
+bool Connect(string To,int Port,const char *Service,int &Fd,
+ unsigned long TimeOut,pkgAcqMethod *Owner);
+
+#endif