1*2d543d20SAndroid Build Coastguard Worker /* Authors: Jason Tang <[email protected]> 2*2d543d20SAndroid Build Coastguard Worker * Joshua Brindle <[email protected]> 3*2d543d20SAndroid Build Coastguard Worker * Karl MacMillan <[email protected]> 4*2d543d20SAndroid Build Coastguard Worker */ 5*2d543d20SAndroid Build Coastguard Worker 6*2d543d20SAndroid Build Coastguard Worker #ifndef _SEPOL_POLICYDB_LINK_H 7*2d543d20SAndroid Build Coastguard Worker #define _SEPOL_POLICYDB_LINK_H 8*2d543d20SAndroid Build Coastguard Worker 9*2d543d20SAndroid Build Coastguard Worker #include <sepol/handle.h> 10*2d543d20SAndroid Build Coastguard Worker #include <sepol/errcodes.h> 11*2d543d20SAndroid Build Coastguard Worker #include <sepol/policydb/policydb.h> 12*2d543d20SAndroid Build Coastguard Worker 13*2d543d20SAndroid Build Coastguard Worker 14*2d543d20SAndroid Build Coastguard Worker #include <stddef.h> 15*2d543d20SAndroid Build Coastguard Worker 16*2d543d20SAndroid Build Coastguard Worker #ifdef __cplusplus 17*2d543d20SAndroid Build Coastguard Worker extern "C" { 18*2d543d20SAndroid Build Coastguard Worker #endif 19*2d543d20SAndroid Build Coastguard Worker 20*2d543d20SAndroid Build Coastguard Worker extern int link_modules(sepol_handle_t * handle, 21*2d543d20SAndroid Build Coastguard Worker policydb_t * b, policydb_t ** mods, int len, 22*2d543d20SAndroid Build Coastguard Worker int verbose); 23*2d543d20SAndroid Build Coastguard Worker 24*2d543d20SAndroid Build Coastguard Worker #ifdef __cplusplus 25*2d543d20SAndroid Build Coastguard Worker } 26*2d543d20SAndroid Build Coastguard Worker #endif 27*2d543d20SAndroid Build Coastguard Worker 28*2d543d20SAndroid Build Coastguard Worker #endif 29