aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-05-29 03:44:06 +0000
committerRob Austein <sra@hactrn.net>2011-05-29 03:44:06 +0000
commit186e6e58ace04fba553be6ab0160b351735d1d50 (patch)
tree9b810c2de0247a01abb9f182b16811748d21f42f
parent22dff104a4e6743bb521a6483c75612d7f4d1bc1 (diff)
Markup
svn path=/rcynic-ng/rcynic.c; revision=3846
-rw-r--r--rcynic-ng/rcynic.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/rcynic-ng/rcynic.c b/rcynic-ng/rcynic.c
index ca3fbe56..353cd640 100644
--- a/rcynic-ng/rcynic.c
+++ b/rcynic-ng/rcynic.c
@@ -373,22 +373,22 @@ typedef struct rcynic_ctx {
} rcynic_ctx_t;
/**
- * Context for certificate tree walks. This includes all the stuff
- * that we would keep as automatic variables on the call stack if we
- * didn't have to use callbacks to support multiple rsync processes.
- *
- * Mapping between fields here and automatic variables in the older
- * code is still in flux, names (and anything else) may change.
+ * States that a walk_ctx_t can be in.
*/
typedef enum {
- walk_state_initial, /* Initial state */
- walk_state_rsync, /* rsyncing certinfo.sia */
- walk_state_ready, /* Ready to traverse outputs */
- walk_state_current, /* prefix = rc->unauthenticated */
- walk_state_backup, /* prefix = rc->old_authenticated */
- walk_state_done /* Done walking this cert's outputs */
+ walk_state_initial, /**< Initial state */
+ walk_state_rsync, /**< rsyncing certinfo.sia */
+ walk_state_ready, /**< Ready to traverse outputs */
+ walk_state_current, /**< prefix = rc->unauthenticated */
+ walk_state_backup, /**< prefix = rc->old_authenticated */
+ walk_state_done /**< Done walking this cert's outputs */
} walk_state_t;
+/**
+ * Context for certificate tree walks. This includes all the stuff
+ * that we would keep as automatic variables on the call stack if we
+ * didn't have to use callbacks to support multiple rsync processes.
+ */
typedef struct walk_ctx {
unsigned refcount;
certinfo_t certinfo;