diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-06-26 02:16:15 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-10 00:55:51 +0000 |
commit | bb27afc702459d683a6b6ca5822b746142047acc (patch) | |
tree | 194ca8afe97c9d6d2e01976e8040ac00b1b34f40 /cmogstored.h | |
parent | ad961733c0afb96a7ab44dc9837a0f8c8fa239a4 (diff) | |
download | cmogstored-bb27afc702459d683a6b6ca5822b746142047acc.tar.gz |
This will allow us to use control flow similar to the http client handling code when we queue clients based on I/O channel.
Diffstat (limited to 'cmogstored.h')
-rw-r--r-- | cmogstored.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmogstored.h b/cmogstored.h index d7f37c9..f37a84c 100644 --- a/cmogstored.h +++ b/cmogstored.h @@ -126,6 +126,12 @@ enum mog_prio { MOG_PRIO_FSCK }; +enum mog_mgmt_method { + MOG_MGMT_METHOD_NONE = 0, + MOG_MGMT_METHOD_SIZE, + MOG_MGMT_METHOD_DIG +}; + struct mog_mgmt; struct mog_mgmt { int cs; @@ -138,6 +144,7 @@ struct mog_mgmt { struct mog_wbuf *wbuf; /* uncommonly needed */ struct mog_svc *svc; enum Gc_hash alg; + enum mog_mgmt_method mgmt_method; LIST_ENTRY(mog_mgmt) subscribed; }; |