Uprating of the passphrase pixie.
[u/mdw/catacomb] / passphrase.h
index 85ec58e..611b7e1 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: passphrase.h,v 1.2 2004/04/08 01:36:15 mdw Exp $
+ * $Id$
  *
  * Reading passphrases
  *
@@ -53,6 +53,18 @@ enum {
 
 /*----- Functions provided ------------------------------------------------*/
 
+/* --- @passphrase_connect@ ---
+ *
+ * Arguments:  @const char *sock@ = socket name to connect to, or null for
+ *                     default
+ *
+ * Returns:    Zero if OK, nonzero if it failed
+ *
+ * Use:                Attempts to connect to the passphrase pixie.
+ */
+
+extern int passphrase_connect(const char */*sock*/);
+
 /* --- @passphrase_read@ --- *
  *
  * Arguments:  @const char *tag@ = pointer to passphrase tag string