Home | History | Annotate | Download | only in policyrep

Lines Matching refs:res2

6646   int res2 ;
6660 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
6661 if (!SWIG_IsOK(res2)) {
6662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_policy_t_class_iter" "', argument " "2"" of type '" "char *""'");
6704 int res2 ;
6718 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
6719 if (!SWIG_IsOK(res2)) {
6720 SWIG_exception_fail(SWIG_ArgError(res2
8129 int res2 ;
8142 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
8143 if (!SWIG_IsOK(res2)) {
8144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_type_t" "', argument " "2"" of type '" "char const *""'");
8191 int res2 = 0 ;
8202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8203 if (!SWIG_IsOK(res2)) {
8204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
8222 int res2 = 0 ;
8233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8234 if (!SWIG_IsOK(res2)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
8253 int res2 = 0 ;
8264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8265 if (!SWIG_IsOK(res2)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_isalias" "', argument " "2"" of type '" "qpol_policy_t *""'");
8284 int res2 = 0 ;
8295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8296 if (!SWIG_IsOK(res2)) {
8297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_isattr" "', argument " "2"" of type '" "qpol_policy_t *""'");
8315 int res2 = 0 ;
8326 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8327 if (!SWIG_IsOK(res2)) {
8328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_ispermissive" "', argument " "2"" of type '" "qpol_policy_t *""'");
8346 int res2 = 0 ;
8357 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8358 if (!SWIG_IsOK(res2)) {
8359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_type_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
8377 int res2 = 0 ;
8388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8389 if (!SWIG_IsOK(res2)) {
8390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_attr_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
8408 int res2 = 0 ;
8419 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8420 if (!SWIG_IsOK(res2)) {
8421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_type_t_alias_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
8465 int res2 ;
8478 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
8479 if (!SWIG_IsOK(res2)) {
8480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_role_t" "', argument " "2"" of type '" "char const *""'");
8527 int res2 = 0 ;
8538 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8539 if (!SWIG_IsOK(res2)) {
8540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
8558 int res2 = 0 ;
8569 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8570 if (!SWIG_IsOK(res2)) {
8571 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
8589 int res2 = 0 ;
8600 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8601 if (!SWIG_IsOK(res2)) {
8602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_t_type_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
8620 int res2 = 0 ;
8631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8632 if (!SWIG_IsOK(res2)) {
8633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_t_dominate_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
8677 int res2 ;
8690 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
8691 if (!SWIG_IsOK(res2)) {
8692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_level_t" "', argument " "2"" of type '" "char const *""'");
8744 int res2 = 0 ;
8755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8756 if (!SWIG_IsOK(res2)) {
8757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_level_t_isalias" "', argument " "2"" of type '" "qpol_policy_t *""'");
8775 int res2 = 0 ;
8786 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8787 if (!SWIG_IsOK(res2)) {
8788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_level_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
8806 int res2 = 0 ;
8817 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8818 if (!SWIG_IsOK(res2)) {
8819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_level_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
8837 int res2 = 0 ;
8848 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8849 if (!SWIG_IsOK(res2)) {
8850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_level_t_cat_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
8868 int res2 = 0 ;
8879 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
8880 if (!SWIG_IsOK(res2)) {
8881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_level_t_alias_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
8925 int res2 ;
8938 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
8939 if (!SWIG_IsOK(res2)) {
8940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_cat_t" "', argument " "2"" of type '" "char const *""'");
8992 int res2 = 0 ;
9003 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9004 if (!SWIG_IsOK(res2)) {
9005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cat_t_isalias" "', argument " "2"" of type '" "qpol_policy_t *""'");
9023 int res2 = 0 ;
9034 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9035 if (!SWIG_IsOK(res2)) {
9036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cat_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
9054 int res2 = 0 ;
9065 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9066 if (!SWIG_IsOK(res2)) {
9067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cat_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
9085 int res2 = 0 ;
9096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9097 if (!SWIG_IsOK(res2)) {
9098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cat_t_alias_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
9144 int res2 = 0 ;
9158 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_mls_level, 0 | 0 );
9159 if (!SWIG_IsOK(res2)) {
9160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_mls_range_t" "', argument " "2"" of type '" "qpol_mls_level_t *""'");
9215 int res2 = 0 ;
9226 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9227 if (!SWIG_IsOK(res2)) {
9228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_mls_range_t_high_level" "', argument " "2"" of type '" "qpol_policy_t *""'");
9246 int res2 = 0 ;
9257 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9258 if (!SWIG_IsOK(res2)) {
9259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_mls_range_t_low_level" "', argument " "2"" of type '" "qpol_policy_t *""'");
9303 int res2 ;
9316 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
9317 if (!SWIG_IsOK(res2)) {
9318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_semantic_level_t" "', argument " "2"" of type '" "char const *""'");
9367 int res2 = 0 ;
9386 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9387 if (!SWIG_IsOK(res2)) {
9388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_semantic_level_t_add_cats" "', argument " "2"" of type '" "qpol_policy_t *""'");
9433 int res2 = 0 ;
9444 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_semantic_level, 0 | 0 );
9445 if (!SWIG_IsOK(res2)) {
9446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_mls_level_t" "', argument " "2"" of type '" "qpol_semantic_level_t *""'");
9491 int res2 = 0 ;
9502 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9503 if (!SWIG_IsOK(res2)) {
9504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_mls_level_t_sens_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
9522 int res2 = 0 ;
9533 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9534 if (!SWIG_IsOK(res2)) {
9535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_mls_level_t_cat_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
9579 int res2 ;
9592 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
9593 if (!SWIG_IsOK(res2)) {
9594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_user_t" "', argument " "2"" of type '" "char const *""'");
9641 int res2 = 0 ;
9652 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9653 if (!SWIG_IsOK(res2)) {
9654 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_user_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
9672 int res2 = 0 ;
9683 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9684 if (!SWIG_IsOK(res2)) {
9685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_user_t_role_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
9703 int res2 = 0 ;
9714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9715 if (!SWIG_IsOK(res2)) {
9716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_user_t_range" "', argument " "2"" of type '" "qpol_policy_t *""'");
9734 int res2 = 0 ;
9745 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9746 if (!SWIG_IsOK(res2)) {
9747 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_user_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
9765 int res2 = 0 ;
9776 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9777 if (!SWIG_IsOK(res2)) {
9778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_user_t_dfltlevel" "', argument " "2"" of type '" "qpol_policy_t *""'");
9822 int res2 ;
9835 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
9836 if (!SWIG_IsOK(res2)) {
9837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_bool_t" "', argument " "2"" of type '" "char const *""'");
9878 int res2 = 0 ;
9889 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9890 if (!SWIG_IsOK(res2)) {
9891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_bool_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
9909 int res2 = 0 ;
9920 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9921 if (!SWIG_IsOK(res2)) {
9922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_bool_t_state" "', argument " "2"" of type '" "qpol_policy_t *""'");
9940 int res2 = 0 ;
9951 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
9952 if (!SWIG_IsOK(res2)) {
9953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_bool_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
10032 int res2 = 0 ;
10043 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10044 if (!SWIG_IsOK(res2)) {
10045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_context_t_user" "', argument " "2"" of type '" "qpol_policy_t *""'");
10063 int res2 = 0 ;
10074 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10075 if (!SWIG_IsOK(res2)) {
10076 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_context_t_role" "', argument " "2"" of type '" "qpol_policy_t *""'");
10094 int res2 = 0 ;
10105 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10106 if (!SWIG_IsOK(res2)) {
10107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_context_t_type_" "', argument " "2"" of type '" "qpol_policy_t *""'");
10125 int res2 = 0 ;
10136 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10137 if (!SWIG_IsOK(res2)) {
10138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_context_t_range" "', argument " "2"" of type '" "qpol_policy_t *""'");
10182 int res2 ;
10195 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
10196 if (!SWIG_IsOK(res2)) {
10197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_class_t" "', argument " "2"" of type '" "char const *""'");
10249 int res2 = 0 ;
10260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10261 if (!SWIG_IsOK(res2)) {
10262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_class_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
10280 int res2 = 0 ;
10291 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10292 if (!SWIG_IsOK(res2)) {
10293 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_class_t_common" "', argument " "2"" of type '" "qpol_policy_t *""'");
10317 int res2 = 0 ;
10328 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10329 if (!SWIG_IsOK(res2)) {
10330 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_class_t_perm_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
10348 int res2 = 0 ;
10359 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10360 if (!SWIG_IsOK(res2)) {
10361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_class_t_constraint_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
10379 int res2 = 0 ;
10390 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10391 if (!SWIG_IsOK(res2)) {
10392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_class_t_validatetrans_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
10410 int res2 = 0 ;
10421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10422 if (!SWIG_IsOK(res2)) {
10423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_class_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
10467 int res2 ;
10480 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
10481 if (!SWIG_IsOK(res2)) {
10482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_common_t" "', argument " "2"" of type '" "char const *""'");
10534 int res2 = 0 ;
10545 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10546 if (!SWIG_IsOK(res2)) {
10547 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_common_t_value" "', argument " "2"" of type '" "qpol_policy_t *""'");
10565 int res2 = 0 ;
10576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10577 if (!SWIG_IsOK(res2)) {
10578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_common_t_perm_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
10596 int res2 = 0 ;
10607 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10608 if (!SWIG_IsOK(res2)) {
10609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_common_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
10653 int res2 ;
10666 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
10667 if (!SWIG_IsOK(res2)) {
10668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_fs_use_t" "', argument " "2"" of type '" "char const *""'");
10709 int res2 = 0 ;
10720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10721 if (!SWIG_IsOK(res2)) {
10722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_fs_use_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
10740 int res2 = 0 ;
10751 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10752 if (!SWIG_IsOK(res2)) {
10753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_fs_use_t_behavior" "', argument " "2"" of type '" "qpol_policy_t *""'");
10771 int res2 = 0 ;
10782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10783 if (!SWIG_IsOK(res2)) {
10784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_fs_use_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
10829 int res2 ;
10846 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
10847 if (!SWIG_IsOK(res2)) {
10848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_genfscon_t" "', argument " "2"" of type '" "char const *""'");
10896 int res2 = 0 ;
10907 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10908 if (!SWIG_IsOK(res2)) {
10909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_genfscon_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
10927 int res2 = 0 ;
10938 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10939 if (!SWIG_IsOK(res2)) {
10940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_genfscon_t_path" "', argument " "2"" of type '" "qpol_policy_t *""'");
10958 int res2 = 0 ;
10969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
10970 if (!SWIG_IsOK(res2)) {
10971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_genfscon_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
10989 int res2 = 0 ;
11000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11001 if (!SWIG_IsOK(res2)) {
11002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_genfscon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
11046 int res2 ;
11059 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
11060 if (!SWIG_IsOK(res2)) {
11061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_isid_t" "', argument " "2"" of type '" "char const *""'");
11113 int res2 = 0 ;
11124 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11125 if (!SWIG_IsOK(res2)) {
11126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_isid_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
11144 int res2 = 0 ;
11155 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11156 if (!SWIG_IsOK(res2)) {
11157 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_isid_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
11201 int res2 ;
11214 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
11215 if (!SWIG_IsOK(res2)) {
11216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_netifcon_t" "', argument " "2"" of type '" "char const *""'");
11257 int res2 = 0 ;
11268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11269 if (!SWIG_IsOK(res2)) {
11270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_netifcon_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
11288 int res2 = 0 ;
11299 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11300 if (!SWIG_IsOK(res2)) {
11301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_netifcon_t_msg_con" "', argument " "2"" of type '" "qpol_policy_t *""'");
11319 int res2 = 0 ;
11330 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11331 if (!SWIG_IsOK(res2)) {
11332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_netifcon_t_if_con" "', argument " "2"" of type '" "qpol_policy_t *""'");
11379 int res2 = 0 ;
11396 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
11397 if (!SWIG_IsOK(res2)) {
11398 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_qpol_nodecon_t" "', argument " "2"" of type '" "int [4]""'");
11447 int res2 = 0 ;
11458 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11459 if (!SWIG_IsOK(res2)) {
11460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_nodecon_t_addr" "', argument " "2"" of type '" "qpol_policy_t *""'");
11478 int res2 = 0 ;
11489 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11490 if (!SWIG_IsOK(res2)) {
11491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_nodecon_t_mask" "', argument " "2"" of type '" "qpol_policy_t *""'");
11509 int res2 = 0 ;
11520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11521 if (!SWIG_IsOK(res2)) {
11522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_nodecon_t_protocol" "', argument " "2"" of type '" "qpol_policy_t *""'");
11540 int res2 = 0 ;
11551 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11552 if (!SWIG_IsOK(res2)) {
11553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_nodecon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
11668 int res2 = 0 ;
11679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11680 if (!SWIG_IsOK(res2)) {
11681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_portcon_t_low_port" "', argument " "2"" of type '" "qpol_policy_t *""'");
11699 int res2 = 0 ;
11710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11711 if (!SWIG_IsOK(res2)) {
11712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_portcon_t_high_port" "', argument " "2"" of type '" "qpol_policy_t *""'");
11730 int res2 = 0 ;
11741 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11742 if (!SWIG_IsOK(res2)) {
11743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_portcon_t_protocol" "', argument " "2"" of type '" "qpol_policy_t *""'");
11761 int res2 = 0 ;
11772 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11773 if (!SWIG_IsOK(res2)) {
11774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_portcon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
11853 int res2 = 0 ;
11864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11865 if (!SWIG_IsOK(res2)) {
11866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_constraint_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
11884 int res2 = 0 ;
11895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11896 if (!SWIG_IsOK(res2)) {
11897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_constraint_t_perm_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
11915 int res2 = 0 ;
11926 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
11927 if (!SWIG_IsOK(res2)) {
11928 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_constraint_t_expr_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
12007 int res2 = 0 ;
12018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12019 if (!SWIG_IsOK(res2)) {
12020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_validatetrans_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
12038 int res2 = 0 ;
12049 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12050 if (!SWIG_IsOK(res2)) {
12051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_validatetrans_t_expr_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
12130 int res2 = 0 ;
12141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12142 if (!SWIG_IsOK(res2)) {
12143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_constraint_expr_node_t_expr_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12161 int res2 = 0 ;
12172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12173 if (!SWIG_IsOK(res2)) {
12174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_constraint_expr_node_t_sym_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12192 int res2 = 0 ;
12203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12204 if (!SWIG_IsOK(res2)) {
12205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_constraint_expr_node_t_op" "', argument " "2"" of type '" "qpol_policy_t *""'");
12223 int res2 = 0 ;
12234 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12235 if (!SWIG_IsOK(res2)) {
12236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_constraint_expr_node_t_names_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
12315 int res2 = 0 ;
12326 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12327 if (!SWIG_IsOK(res2)) {
12328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_allow_t_source_role" "', argument " "2"" of type '" "qpol_policy_t *""'");
12346 int res2 = 0 ;
12357 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12358 if (!SWIG_IsOK(res2)) {
12359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_allow_t_target_role" "', argument " "2"" of type '" "qpol_policy_t *""'");
12438 int res2 = 0 ;
12449 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12450 if (!SWIG_IsOK(res2)) {
12451 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_trans_t_source_role" "', argument " "2"" of type '" "qpol_policy_t *""'");
12469 int res2 = 0 ;
12480 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12481 if (!SWIG_IsOK(res2)) {
12482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_trans_t_target_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12500 int res2 = 0 ;
12511 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12512 if (!SWIG_IsOK(res2)) {
12513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_trans_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
12531 int res2 = 0 ;
12542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12543 if (!SWIG_IsOK(res2)) {
12544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_role_trans_t_default_role" "', argument " "2"" of type '" "qpol_policy_t *""'");
12623 int res2 = 0 ;
12634 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12635 if (!SWIG_IsOK(res2)) {
12636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_range_trans_t_source_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12654 int res2 = 0 ;
12665 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12666 if (!SWIG_IsOK(res2)) {
12667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_range_trans_t_target_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12685 int res2 = 0 ;
12696 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12697 if (!SWIG_IsOK(res2)) {
12698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_range_trans_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
12716 int res2 = 0 ;
12727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12728 if (!SWIG_IsOK(res2)) {
12729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_range_trans_t_range" "', argument " "2"" of type '" "qpol_policy_t *""'");
12808 int res2 = 0 ;
12819 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12820 if (!SWIG_IsOK(res2)) {
12821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_rule_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12839 int res2 = 0 ;
12850 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12851 if (!SWIG_IsOK(res2)) {
12852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_source_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12870 int res2 = 0 ;
12881 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12882 if (!SWIG_IsOK(res2)) {
12883 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_target_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
12901 int res2 = 0 ;
12912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12913 if (!SWIG_IsOK(res2)) {
12914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
12932 int res2 = 0 ;
12943 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12944 if (!SWIG_IsOK(res2)) {
12945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_perm_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
12963 int res2 = 0 ;
12974 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
12975 if (!SWIG_IsOK(res2)) {
12976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_xperm_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
12994 int res2 = 0 ;
13005 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13006 if (!SWIG_IsOK(res2)) {
13007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_is_extended" "', argument " "2"" of type '" "qpol_policy_t *""'");
13025 int res2 = 0 ;
13036 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13037 if (!SWIG_IsOK(res2)) {
13038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_xperm_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
13056 int res2 = 0 ;
13067 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13068 if (!SWIG_IsOK(res2)) {
13069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_cond" "', argument " "2"" of type '" "qpol_policy_t *""'");
13093 int res2 = 0 ;
13104 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13105 if (!SWIG_IsOK(res2)) {
13106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_is_enabled" "', argument " "2"" of type '" "qpol_policy_t *""'");
13124 int res2 = 0 ;
13135 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13136 if (!SWIG_IsOK(res2)) {
13137 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_which_list" "', argument " "2"" of type '" "qpol_policy_t *""'");
13161 int res2 = 0 ;
13172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13173 if (!SWIG_IsOK(res2)) {
13174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_avrule_t_syn_avrule_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
13253 int res2 = 0 ;
13264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13265 if (!SWIG_IsOK(res2)) {
13266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_rule_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
13284 int res2 = 0 ;
13295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13296 if (!SWIG_IsOK(res2)) {
13297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_source_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
13315 int res2 = 0 ;
13326 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13327 if (!SWIG_IsOK(res2)) {
13328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_target_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
13346 int res2 = 0 ;
13357 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13358 if (!SWIG_IsOK(res2)) {
13359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
13377 int res2 = 0 ;
13388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13389 if (!SWIG_IsOK(res2)) {
13390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_default_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
13408 int res2 = 0 ;
13419 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13420 if (!SWIG_IsOK(res2)) {
13421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_cond" "', argument " "2"" of type '" "qpol_policy_t *""'");
13445 int res2 = 0 ;
13456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13457 if (!SWIG_IsOK(res2)) {
13458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_is_enabled" "', argument " "2"" of type '" "qpol_policy_t *""'");
13476 int res2 = 0 ;
13487 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13488 if (!SWIG_IsOK(res2)) {
13489 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_which_list" "', argument " "2"" of type '" "qpol_policy_t *""'");
13513 int res2 = 0 ;
13524 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13525 if (!SWIG_IsOK(res2)) {
13526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_terule_t_syn_terule_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
13605 int res2 = 0 ;
13616 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13617 if (!SWIG_IsOK(res2)) {
13618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_t_expr_node_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
13637 int res2 = 0 ;
13651 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13652 if (!SWIG_IsOK(res2)) {
13653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_t_av_true_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
13677 int res2 = 0 ;
13691 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13692 if (!SWIG_IsOK(res2)) {
13693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_t_av_false_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
13717 int res2 = 0 ;
13731 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13732 if (!SWIG_IsOK(res2)) {
13733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_t_te_true_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
13757 int res2 = 0 ;
13771 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13772 if (!SWIG_IsOK(res2)) {
13773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_t_te_false_iter" "', argument " "2"" of type '" "qpol_policy_t *""'");
13796 int res2 = 0 ;
13807 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13808 if (!SWIG_IsOK(res2)) {
13809 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_t_evaluate" "', argument " "2"" of type '" "qpol_policy_t *""'");
13888 int res2 = 0 ;
13899 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13900 if (!SWIG_IsOK(res2)) {
13901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_expr_node_t_expr_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
13919 int res2 = 0 ;
13930 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
13931 if (!SWIG_IsOK(res2)) {
13932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_cond_expr_node_t_get_boolean" "', argument " "2"" of type '" "qpol_policy_t *""'");
14011 int res2 = 0 ;
14022 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14023 if (!SWIG_IsOK(res2)) {
14024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_filename_trans_t_source_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
14042 int res2 = 0 ;
14053 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14054 if (!SWIG_IsOK(res2)) {
14055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_filename_trans_t_target_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
14073 int res2 = 0 ;
14084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14085 if (!SWIG_IsOK(res2)) {
14086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_filename_trans_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
14104 int res2 = 0 ;
14115 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14116 if (!SWIG_IsOK(res2)) {
14117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_filename_trans_t_default_type" "', argument " "2"" of type '" "qpol_policy_t *""'");
14135 int res2 = 0 ;
14146 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14147 if (!SWIG_IsOK(res2)) {
14148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_filename_trans_t_filename" "', argument " "2"" of type '" "qpol_policy_t *""'");
14227 int res2 = 0 ;
14238 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14239 if (!SWIG_IsOK(res2)) {
14240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_polcap_t_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
14319 int res2 = 0 ;
14330 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14331 if (!SWIG_IsOK(res2)) {
14332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_typebounds_t_parent_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
14350 int res2 = 0 ;
14361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14362 if (!SWIG_IsOK(res2)) {
14363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_typebounds_t_child_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
14442 int res2 = 0 ;
14453 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14454 if (!SWIG_IsOK(res2)) {
14455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_rolebounds_t_parent_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
14473 int res2 = 0 ;
14484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14485 if (!SWIG_IsOK(res2)) {
14486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_rolebounds_t_child_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
14565 int res2 = 0 ;
14576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14577 if (!SWIG_IsOK(res2)) {
14578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_userbounds_t_parent_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
14596 int res2 = 0 ;
14607 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14608 if (!SWIG_IsOK(res2)) {
14609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_userbounds_t_child_name" "', argument " "2"" of type '" "qpol_policy_t *""'");
14688 int res2 = 0 ;
14699 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14700 if (!SWIG_IsOK(res2)) {
14701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_default_object_t_object_class" "', argument " "2"" of type '" "qpol_policy_t *""'");
14719 int res2 = 0 ;
14730 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14731 if (!SWIG_IsOK(res2)) {
14732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_default_object_t_user_default" "', argument " "2"" of type '" "qpol_policy_t *""'");
14750 int res2 = 0 ;
14761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14762 if (!SWIG_IsOK(res2)) {
14763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_default_object_t_role_default" "', argument " "2"" of type '" "qpol_policy_t *""'");
14781 int res2 = 0 ;
14792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14793 if (!SWIG_IsOK(res2)) {
14794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_default_object_t_type_default" "', argument " "2"" of type '" "qpol_policy_t *""'");
14812 int res2 = 0 ;
14823 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14824 if (!SWIG_IsOK(res2)) {
14825 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_default_object_t_range_default" "', argument " "2"" of type '" "qpol_policy_t *""'");
14931 int res2 = 0 ;
14942 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14943 if (!SWIG_IsOK(res2)) {
14944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_iomemcon_t_low_addr" "', argument " "2"" of type '" "qpol_policy_t *""'");
14962 int res2 = 0 ;
14973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
14974 if (!SWIG_IsOK(res2)) {
14975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_iomemcon_t_high_addr" "', argument " "2"" of type '" "qpol_policy_t *""'");
14993 int res2 = 0 ;
15004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15005 if (!SWIG_IsOK(res2)) {
15006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_iomemcon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
15112 int res2 = 0 ;
15123 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15124 if (!SWIG_IsOK(res2)) {
15125 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_ioportcon_t_low_port" "', argument " "2"" of type '" "qpol_policy_t *""'");
15143 int res2 = 0 ;
15154 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15155 if (!SWIG_IsOK(res2)) {
15156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_ioportcon_t_high_port" "', argument " "2"" of type '" "qpol_policy_t *""'");
15174 int res2 = 0 ;
15185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15186 if (!SWIG_IsOK(res2)) {
15187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_ioportcon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
15266 int res2 = 0 ;
15277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15278 if (!SWIG_IsOK(res2)) {
15279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_pcidevicecon_t_device" "', argument " "2"" of type '" "qpol_policy_t *""'");
15297 int res2 = 0 ;
15308 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15309 if (!SWIG_IsOK(res2)) {
15310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_pcidevicecon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
15389 int res2 = 0 ;
15400 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15401 if (!SWIG_IsOK(res2)) {
15402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_pirqcon_t_irq" "', argument " "2"" of type '" "qpol_policy_t *""'");
15420 int res2 = 0 ;
15431 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15432 if (!SWIG_IsOK(res2)) {
15433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_pirqcon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");
15491 int res2 = 0 ;
15502 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15503 if (!SWIG_IsOK(res2)) {
15504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_devicetreecon_t_path" "', argument " "2"" of type '" "qpol_policy_t *""'");
15522 int res2 = 0 ;
15533 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_qpol_policy, 0 | 0 );
15534 if (!SWIG_IsOK(res2)) {
15535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qpol_devicetreecon_t_context" "', argument " "2"" of type '" "qpol_policy_t *""'");