29 #ifndef _POLICY_POLICY_EXPORT_H_
30 #define _POLICY_POLICY_EXPORT_H_
38 #define POLICY_EXPORT_OK 0
42 #define POLICY_EXPORT_ERR_ARGS 1
46 #define POLICY_EXPORT_ERR_XML 2
50 #define POLICY_EXPORT_ERR_DATABASE 3
54 #define POLICY_EXPORT_ERR_MEMORY 4
58 #define POLICY_EXPORT_ERR_FILE 5
int policy_export(int sockfd, const policy_t *policy, const char *filename)
int policy_export_all(int sockfd, const db_connection_t *connection, const char *filename)