Lines Matching refs:res2
1901 int res2 = 0 ;
1909 res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_p_char, 0 | 0 );
1910 if (!SWIG_IsOK(res2)) {
1911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_name_set" "', argument " "2"" of type '" "char **""'");
1951 int res2 = 0 ;
1959 res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_p_char, 0 | 0 );
1960 if (!SWIG_IsOK(res2)) {
1961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_value_set" "', argument " "2"" of type '" "char **""'");
2000 int res2 ;
2008 res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2009 if (!SWIG_IsOK(res2)) {
2010 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_pubring_set" "', argument " "2"" of type '" "void *""'");
2048 int res2 ;
2056 res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2057 if (!SWIG_IsOK(res2)) {
2058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_secring_set" "', argument " "2"" of type '" "void *""'");
2096 int res2 ;
2104 res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2105 if (!SWIG_IsOK(res2)) {
2106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_io_set" "', argument " "2"" of type '" "void *""'");
2144 int res2 ;
2152 res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2153 if (!SWIG_IsOK(res2)) {
2154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_passfp_set" "', argument " "2"" of type '" "void *""'");
2364 int res2 ;
2379 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2380 if (!SWIG_IsOK(res2)) {
2381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_list_packets" "', argument " "2"" of type '" "char *""'");
2414 int res2 ;
2427 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2428 if (!SWIG_IsOK(res2)) {
2429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_setvar" "', argument " "2"" of type '" "char const *""'");
2456 int res2 ;
2466 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2467 if (!SWIG_IsOK(res2)) {
2468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_getvar" "', argument " "2"" of type '" "char const *""'");
2509 int res2 ;
2519 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2520 if (!SWIG_IsOK(res2)) {
2521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_list_sigs" "', argument " "2"" of type '" "char const *""'");
2541 int res2 ;
2551 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2552 if (!SWIG_IsOK(res2)) {
2553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_find_key" "', argument " "2"" of type '" "char *""'");
2573 int res2 ;
2583 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2584 if (!SWIG_IsOK(res2)) {
2585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_get_key" "', argument " "2"" of type '" "char const *""'");
2605 int res2 ;
2615 res2
2616 if (!SWIG_IsOK(res2)) {
2617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_export_key" "', argument " "2"" of type '" "char *""'");
2637 int res2 ;
2647 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2648 if (!SWIG_IsOK(res2)) {
2649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_import_key" "', argument " "2"" of type '" "char *""'");
2670 int res2 ;
2682 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2683 if (!SWIG_IsOK(res2)) {
2684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_generate_key" "', argument " "2"" of type '" "char *""'");
2712 int res2 ;
2730 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2731 if (!SWIG_IsOK(res2)) {
2732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_encrypt_file" "', argument " "2"" of type '" "char const *""'");
2773 int res2 ;
2788 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2789 if (!SWIG_IsOK(res2)) {
2790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_decrypt_file" "', argument " "2"" of type '" "char const *""'");
2827 int res2 ;
2849 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2850 if (!SWIG_IsOK(res2)) {
2851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_sign_file" "', argument " "2"" of type '" "char const *""'");
2902 int res2 ;
2917 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2918 if (!SWIG_IsOK(res2)) {
2919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_verify_file" "', argument " "2"" of type '" "char const *""'");
2957 int res2 ;
2981 res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
2982 if (!SWIG_IsOK(res2)) {
2983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_sign_memory" "', argument " "2"" of type '" "char const *""'");
3039 int res2 ;
3051 res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, 0);
3052 if (!SWIG_IsOK(res2)) {
3053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_verify_memory" "', argument " "2"" of type '" "void const *""'");