/* -*-c-*-
*
- * $Id: target.h,v 1.1 1999/07/26 23:33:01 mdw Exp $
- *
* Description of forwarding targets
*
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
* 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.
- *
+ *
* `fw' 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 `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: target.h,v $
- * Revision 1.1 1999/07/26 23:33:01 mdw
- * Infrastructure for the new design.
- *
- */
-
#ifndef TARGET_H
#define TARGET_H
/* --- @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.
*
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