00001 /*************************************************** */ 00002 /* Rule Set Based Access Control */ 00003 /* Author and (c) 1999-2005: Amon Ott <ao@rsbac.org> */ 00004 /* Generic lists - internal structures */ 00005 /* Last modified: 04/Apr/2005 */ 00006 /*************************************************** */ 00007 00008 #ifndef __RSBAC_REPL_TYPES_H 00009 #define __RSBAC_REPL_TYPES_H 00010 00011 #include <rsbac/types.h> 00012 00013 #define RSBAC_LIST_REPL_NAME_LEN 16 00014 #define RSBAC_LIST_REPL_CRYPTKEY_LEN 256 00015 #define RSBAC_LIST_REPL_CRYPTALGO_LEN 64 00016 00017 typedef __u32 rsbac_list_repl_partner_number_t; 00018 00019 struct rsbac_list_repl_partner_entry_t 00020 { 00021 char name[RSBAC_LIST_REPL_NAME_LEN]; 00022 __u32 ip_addr; 00023 char crypt_algo[RSBAC_LIST_REPL_CRYPTALGO_LEN]; 00024 char crypt_key[RSBAC_LIST_REPL_CRYPTKEY_LEN]; 00025 __u32 crypt_key_len; 00026 }; 00027 00028 #endif