~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix up the help message.
[fwd]
/
target.h
diff --git
a/target.h
b/target.h
index
5077c39
..
0a01a7d
100644
(file)
--- a/
target.h
+++ b/
target.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: target.h,v 1.
1 1999/07/26 23:33:01
mdw Exp $
+ * $Id: target.h,v 1.
4 2004/04/08 01:36:25
mdw Exp $
*
* Description of forwarding targets
*
*
* Description of forwarding targets
*
@@
-26,14
+26,6
@@
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* 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
#ifndef TARGET_H
#define TARGET_H
@@
-69,8
+61,8
@@
typedef struct target_ops {
/* --- @option@ --- *
*
/* --- @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.
*
*
* Returns: Nonzero to claim the option.
*
@@
-92,6
+84,17
@@
typedef struct target_ops {
target *(*read)(scanner */*sc*/);
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
/* --- @create@ --- *
*
* Arguments: @target *t@ = pointer to target