char partName[16];
};
-struct state {
+struct fssync_state {
afs_int32 reason;
struct salv_state * sop;
};
-static int common_prolog(struct cmd_syndesc *, struct state *);
-static int common_salv_prolog(struct cmd_syndesc *, struct state *);
+static int common_prolog(struct cmd_syndesc *, struct fssync_state *);
+static int common_salv_prolog(struct cmd_syndesc *, struct fssync_state *);
-static int do_salvop(struct state *, afs_int32 command, SYNC_response * res);
+static int do_salvop(struct fssync_state *, afs_int32 command, SYNC_response * res);
static char * response_code_to_string(afs_int32);
static char * command_code_to_string(afs_int32);
}
static int
-common_prolog(struct cmd_syndesc * as, struct state * state)
+common_prolog(struct cmd_syndesc * as, struct fssync_state * state)
{
struct cmd_item *ti;
VolumePackageOptions opts;
}
static int
-common_salv_prolog(struct cmd_syndesc * as, struct state * state)
+common_salv_prolog(struct cmd_syndesc * as, struct fssync_state * state)
{
struct cmd_item *ti;
}
static int
-do_salvop(struct state * state, afs_int32 command, SYNC_response * res)
+do_salvop(struct fssync_state * state, afs_int32 command, SYNC_response * res)
{
afs_int32 code;
SALVSYNC_response_hdr hdr_l, *hdr;
static int
OpStats(struct cmd_syndesc * as, void * rock)
{
- struct state state;
+ struct fssync_state state;
common_prolog(as, &state);
common_salv_prolog(as, &state);
static int
OpSalvage(struct cmd_syndesc * as, void * rock)
{
- struct state state;
+ struct fssync_state state;
common_prolog(as, &state);
common_salv_prolog(as, &state);
static int
OpCancel(struct cmd_syndesc * as, void * rock)
{
- struct state state;
+ struct fssync_state state;
common_prolog(as, &state);
common_salv_prolog(as, &state);
static int
OpCancelAll(struct cmd_syndesc * as, void * rock)
{
- struct state state;
+ struct fssync_state state;
common_prolog(as, &state);
common_salv_prolog(as, &state);
static int
OpRaisePrio(struct cmd_syndesc * as, void * rock)
{
- struct state state;
+ struct fssync_state state;
common_prolog(as, &state);
common_salv_prolog(as, &state);
static int
OpQuery(struct cmd_syndesc * as, void * rock)
{
- struct state state;
+ struct fssync_state state;
common_prolog(as, &state);
common_salv_prolog(as, &state);