All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Enumerations
as_policy.h File Reference
#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for as_policy.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  as_policies
 
struct  as_policy_admin
 
struct  as_policy_apply
 
struct  as_policy_batch
 
struct  as_policy_info
 
struct  as_policy_operate
 
struct  as_policy_query
 
struct  as_policy_read
 
struct  as_policy_remove
 
struct  as_policy_scan
 
struct  as_policy_write
 

Macros

#define AS_POLICY_COMMIT_LEVEL_DEFAULT   AS_POLICY_COMMIT_LEVEL_ALL
 
#define AS_POLICY_COMPRESSION_THRESHOLD_DEFAULT   0
 
#define AS_POLICY_CONSISTENCY_LEVEL_DEFAULT   AS_POLICY_CONSISTENCY_LEVEL_ONE
 
#define AS_POLICY_EXISTS_DEFAULT   AS_POLICY_EXISTS_IGNORE
 
#define AS_POLICY_GEN_DEFAULT   AS_POLICY_GEN_IGNORE
 
#define AS_POLICY_KEY_DEFAULT   AS_POLICY_KEY_DIGEST
 
#define AS_POLICY_REPLICA_DEFAULT   AS_POLICY_REPLICA_MASTER
 
#define AS_POLICY_RETRY_DEFAULT   1
 
#define AS_POLICY_RETRY_SLEEP_DEFAULT   0
 
#define AS_POLICY_TIMEOUT_DEFAULT   1000
 

Enumerations

enum  as_policy_commit_level { AS_POLICY_COMMIT_LEVEL_ALL, AS_POLICY_COMMIT_LEVEL_MASTER }
 
enum  as_policy_consistency_level { AS_POLICY_CONSISTENCY_LEVEL_ONE, AS_POLICY_CONSISTENCY_LEVEL_ALL }
 
enum  as_policy_exists {
  AS_POLICY_EXISTS_IGNORE, AS_POLICY_EXISTS_CREATE, AS_POLICY_EXISTS_UPDATE, AS_POLICY_EXISTS_REPLACE,
  AS_POLICY_EXISTS_CREATE_OR_REPLACE
}
 
enum  as_policy_gen { AS_POLICY_GEN_IGNORE, AS_POLICY_GEN_EQ, AS_POLICY_GEN_GT }
 
enum  as_policy_key { AS_POLICY_KEY_DIGEST, AS_POLICY_KEY_SEND }
 
enum  as_policy_replica { AS_POLICY_REPLICA_MASTER, AS_POLICY_REPLICA_ANY, AS_POLICY_REPLICA_SEQUENCE }
 
enum  as_policy_retry { AS_POLICY_RETRY_NONE, AS_POLICY_RETRY_ONCE }