Fix bug in identification timout handling.
[fwd] / target.h
index 5077c39..1472ff3 100644 (file)
--- a/target.h
+++ b/target.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: target.h,v 1.1 1999/07/26 23:33:01 mdw Exp $
+ * $Id: target.h,v 1.3 2003/11/29 20:36:07 mdw Exp $
  *
  * Description of forwarding targets
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: target.h,v $
+ * Revision 1.3  2003/11/29 20:36:07  mdw
+ * Privileged outgoing connections.
+ *
+ * Revision 1.2  2003/11/25 14:08:23  mdw
+ * Debianization.  Socket target options.  Internet binding.
+ *
  * Revision 1.1  1999/07/26 23:33:01  mdw
  * Infrastructure for the new design.
  *
@@ -69,8 +75,8 @@ typedef struct target_ops {
 
   /* --- @option@ --- *
    *
-   * Arguments:        @scanner *sc@ = scanner to read from
-   *           @target *t@ = pointer to target object, or zero if global
+   * Arguments:        @target *t@ = pointer to target object, or zero if global
+   *           @scanner *sc@ = scanner to read from
    *
    * Returns:  Nonzero to claim the option.
    *
@@ -92,6 +98,17 @@ typedef struct target_ops {
 
   target *(*read)(scanner */*sc*/);
 
+  /* --- @confirm@ --- *
+   *
+   * Arguments:        @target *t@ = pointer to target
+   *
+   * Returns:  ---
+   *
+   * Use:      Confirms configuration of a target.
+   */
+
+  void (*confirm)(target */*t*/);
+
   /* --- @create@ --- *
    *
    * Arguments:        @target *t@ = pointer to target