Lines Matching refs:res2
2937 int res2 = 0 ;
2947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 );
2948 if (!SWIG_IsOK(res2)) {
2949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_name_set" "', argument " "2"" of type '" "char **""'");
2990 int res2 = 0 ;
3000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 );
3001 if (!SWIG_IsOK(res2)) {
3002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_value_set" "', argument " "2"" of type '" "char **""'");
3042 int res2 ;
3052 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
3053 if (!SWIG_IsOK(res2)) {
3054 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_pubring_set" "', argument " "2"" of type '" "void *""'");
3093 int res2 ;
3103 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
3104 if (!SWIG_IsOK(res2)) {
3105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_secring_set" "', argument " "2"" of type '" "void *""'");
3144 int res2 ;
3154 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
3155 if (!SWIG_IsOK(res2)) {
3156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_io_set" "', argument " "2"" of type '" "void *""'");
3195 int res2 ;
3205 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
3206 if (!SWIG_IsOK(res2)) {
3207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_passfp_set" "', argument " "2"" of type '" "void *""'");
3410 int res2 ;
3429 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3430 if (!SWIG_IsOK(res2)) {
3431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_list_packets" "', argument " "2"" of type '" "char *""'");
3464 int res2 ;
3480 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3481 if (!SWIG_IsOK(res2)) {
3482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_setvar" "', argument " "2"" of type '" "char const *""'");
3509 int res2 ;
3521 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3522 if (!SWIG_IsOK(res2)) {
3523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_getvar" "', argument " "2"" of type '" "char const *""'");
3544 int res2 ;
3559 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3560 if (!SWIG_IsOK(res2)) {
3561 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_incvar" "', argument " "2"" of type '" "char const *""'");
3586 int res2 ;
3598 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3599 if (!SWIG_IsOK(res2)) {
3600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_unsetvar" "', argument " "2"" of type '" "char const *""'");
3622 int res2 ;
3641 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3642 if (!SWIG_IsOK(res2)) {
3643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_set_homedir" "', argument " "2"" of type '" "char *""'");
3706 int res2 ;
3718 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3719 if (!SWIG_IsOK(res2)) {
3720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_find_key" "', argument " "2"" of type '" "char *""'");
3741 int res2 ;
3757 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3758 if (!SWIG_IsOK(res2)) {
3759 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_get_key" "', argument " "2"" of type '" "char const *""'");
3786 int res2 ;
3798 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3799 if (!SWIG_IsOK(res2)) {
3800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_export_key" "', argument " "2"" of type '" "char *""'");
3820 int res2 ;
3832 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3833 if (!SWIG_IsOK(res2)) {
3834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_import_key" "', argument " "2"" of type '" "char *""'");
3855 int res2 ;
3870 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3871 if (!SWIG_IsOK(res2)) {
3872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_generate_key" "', argument " "2"" of type '" "char *""'");
3900 int res2 ;
3923 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3924 if (!SWIG_IsOK(res2)) {
3925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_encrypt_file" "', argument " "2"" of type '" "char const *""'");
3966 int res2 ;
3985 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
3986 if (!SWIG_IsOK(res2)) {
3987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_decrypt_file" "', argument " "2"" of type '" "char const *""'");
4024 int res2 ;
4053 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
4054 if (!SWIG_IsOK(res2)) {
4055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_sign_file" "', argument " "2"" of type '" "char const *""'");
4106 int res2 ;
4125 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
4126 if (!SWIG_IsOK(res2)) {
4127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_verify_file" "', argument " "2"" of type '" "char const *""'");
4165 int res2 ;
4197 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
4198 if (!SWIG_IsOK(res2)) {
4199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_sign_memory" "', argument " "2"" of type '" "char const *""'");
4257 int res2 ;
4278 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
4279 if (!SWIG_IsOK(res2)) {
4280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_verify_memory" "', argument " "2"" of type '" "void const *""'");
4321 int res2 ;
4348 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
4349 if (!SWIG_IsOK(res2)) {
4350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_encrypt_memory" "', argument " "2"" of type '" "char const *""'");
4400 int res2 ;
4423 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
4424 if (!SWIG_IsOK(res2)) {
4425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_decrypt_memory" "', argument " "2"" of type '" "void const *""'");
4467 int res2 ;
4488 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
4489 if (!SWIG_IsOK(res2)) {
4490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_match_keys" "', argument " "2"" of type '" "char *""'");
4527 int res2 ;
4541 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
4542 if (!SWIG_IsOK(res2)) {
4543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_match_pubkeys" "', argument " "2"" of type '" "char *""'");