konto_check 5.4.0 → 5.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,5 @@
1
1
  /* vim: ft=c:set si:set fileencoding=iso-8859-1
2
2
  */
3
- #line 9 "konto_check_h.lx"
4
3
 
5
4
  /*
6
5
  * ##########################################################################
@@ -336,6 +335,7 @@ extern const char *lut2_feld_namen[256];
336
335
  */
337
336
 
338
337
  #undef FALSE
338
+ #define INVALID_HANDLE -150
339
339
  #define INVALID_BIQ_INDEX -149
340
340
  #define ARRAY_INDEX_OUT_OF_RANGE -148
341
341
  #define IBAN_ONLY_GERMAN -147
@@ -468,7 +468,6 @@ extern const char *lut2_feld_namen[256];
468
468
  #define LUT2_NO_VALID_DATE 5
469
469
  #define LUT1_SET_LOADED 6
470
470
  #define LUT1_FILE_GENERATED 7
471
- #define DTA_FILE_WITH_WARNINGS 8
472
471
  #define LUT_V2_FILE_GENERATED 9
473
472
  #define KTO_CHECK_VALUE_REPLACED 10
474
473
  #define OK_UNTERKONTO_POSSIBLE 11
@@ -487,7 +486,6 @@ extern const char *lut2_feld_namen[256];
487
486
  #define OK_KTO_REPLACED_NO_PZ 24
488
487
  #define OK_UNTERKONTO_ATTACHED 25
489
488
  #define OK_SHORT_BIC_USED 26
490
- #line 284 "konto_check_h.lx"
491
489
 
492
490
  #define MAX_BLZ_CNT 30000 /* maximale Anzahl BLZ's in generate_lut() */
493
491
 
@@ -844,6 +842,7 @@ DLL_EXPORT int read_lut_block(char *lutname, UINT4 typ,UINT4 *blocklen,char **da
844
842
  DLL_EXPORT int read_lut_slot(char *lutname,int slot,UINT4 *blocklen,char **data);
845
843
  DLL_EXPORT int lut_dir_dump(char *lutname,char *outputname);
846
844
  DLL_EXPORT int lut_dir_dump_str(char *lutname,char **dptr);
845
+ DLL_EXPORT int lut_dir_dump_id(char *lutname,int *rv);
847
846
  DLL_EXPORT int generate_lut2_p(char *inputname,char *outputname,char *user_info,char *gueltigkeit,
848
847
  UINT4 felder,UINT4 filialen,int slots,int lut_version,int set);
849
848
  DLL_EXPORT int generate_lut2(char *inputname,char *outputname,const char *user_info,
@@ -855,7 +854,10 @@ DLL_EXPORT int kto_check_init2(char *lut_name);
855
854
  DLL_EXPORT int *lut2_status(void);
856
855
  DLL_EXPORT int kto_check_init_p(char *lut_name,int required,int set,int incremental);
857
856
  DLL_EXPORT int lut_info(char *lut_name,char **info1,char **info2,int *valid1,int *valid2);
857
+ DLL_EXPORT int lut_info_b(char *lut_name,char **info1,char **info2,int *valid1,int *valid2);
858
+ DLL_EXPORT int lut_info_id(char *lut_name,int *info1,int *info2,int *valid1,int *valid2);
858
859
  DLL_EXPORT const char *current_lutfile_name(int *set,int *level,int *retval);
860
+ DLL_EXPORT int current_lutfile_name_id(int *set,int *level,int *retval);
859
861
  DLL_EXPORT int lut_valid(void);
860
862
  DLL_EXPORT int get_lut_info2(char *lut_name,int *version_p,char **prolog_p,char **info_p,char **user_info_p);
861
863
  DLL_EXPORT int get_lut_info_b(char **info,char *lutname);
@@ -998,6 +1000,7 @@ DLL_EXPORT int lut_suche_free(int id);
998
1000
  DLL_EXPORT int lut_suche_set(int such_id,int idx,int typ,int i1,int i2,char *txt);
999
1001
  DLL_EXPORT int lut_suche(int such_id,char *such_cmd,UINT4 *such_cnt,UINT4 **filiale,UINT4 **blz);
1000
1002
  DLL_EXPORT int lut_blocks(int mode,char **lut_filename,char **lut_blocks_ok,char **lut_blocks_fehler);
1003
+ DLL_EXPORT int lut_blocks_id(int mode,int *lut_filename,int *lut_blocks_ok,int *lut_blocks_fehler);
1001
1004
 
1002
1005
  /* (Benutzerdefinierte) Default-Werte in der LUT-Datei lesen und schreiben */
1003
1006
  #define DEFAULT_CNT 50 /* Anzahl Eintr�ge (fest) */
@@ -1017,10 +1020,14 @@ DLL_EXPORT int ci_check(char *ci);
1017
1020
  DLL_EXPORT int bic_check(char *search_bic,int *cnt);
1018
1021
  DLL_EXPORT int iban_check(char *iban,int *retval);
1019
1022
  DLL_EXPORT const char *iban2bic(char *iban,int *retval,char *blz,char *kto);
1023
+ DLL_EXPORT const char *iban2bic_id(char *iban,int *retval,int *blz,int *kto);
1020
1024
  DLL_EXPORT char *iban_gen(char *kto,char *blz,int *retval);
1021
1025
  DLL_EXPORT char *iban_bic_gen(char *blz,char *kto,const char **bicp,char *blz2,char *kto2,int *retval);
1022
1026
  DLL_EXPORT char *iban_bic_gen1(char *blz,char *kto,const char **bicp,int *retval);
1023
1027
  DLL_EXPORT int ipi_gen(char *zweck,char *dst,char *papier);
1028
+ DLL_EXPORT int iban_gen_id(char *blz,char *kto,int *retval);
1029
+ DLL_EXPORT int ipi_gen_id(char *zweck,int *dst,int *papier);
1030
+ DLL_EXPORT int iban_bic_gen_id(char *blz,char *kto,int *bic2,int *blz2,int *kto2,int *retval);
1024
1031
  DLL_EXPORT int ipi_check(char *zweck);
1025
1032
 
1026
1033
  /* BIC-Funktionen */
@@ -1043,6 +1050,49 @@ const DLL_EXPORT char *pz2str(int pz,int *ret);
1043
1050
  /* Flag f�r neue Pr�fziffermethoden setzen bzw. abfragen */
1044
1051
  DLL_EXPORT int pz_aenderungen_enable(int set);
1045
1052
 
1053
+
1054
+ /* Funktionen f�r Strings mit R�ckgabe per handle */
1055
+ DLL_EXPORT char *kc_id2ptr(int handle,int *retval);
1056
+ DLL_EXPORT int kc_id_free(int handle);
1057
+
1058
+ /* Handle-Varianten f�r Funktionen mit Stringkonstanten als R�ckgabewert */
1059
+ DLL_EXPORT int kto_check_encoding_str_id(int mode);
1060
+ DLL_EXPORT int kto_check_retval2txt_id(int retval);
1061
+ DLL_EXPORT int kto_check_retval2txt_short_id(int retval);
1062
+ DLL_EXPORT int kto_check_retval2html_id(int retval);
1063
+ DLL_EXPORT int kto_check_retval2dos_id(int retval);
1064
+ DLL_EXPORT int kto_check_retval2utf8_id(int retval);
1065
+ DLL_EXPORT int get_kto_check_version_id(int mode);
1066
+
1067
+ DLL_EXPORT int lut_name_id(char *b,int zweigstelle,int *retval);
1068
+ DLL_EXPORT int lut_name_i_id(int b,int zweigstelle,int *retval);
1069
+ DLL_EXPORT int lut_name_kurz_id(char *b,int zweigstelle,int *retval);
1070
+ DLL_EXPORT int lut_name_kurz_i_id(int b,int zweigstelle,int *retval);
1071
+ DLL_EXPORT int lut_ort_id(char *b,int zweigstelle,int *retval);
1072
+ DLL_EXPORT int lut_ort_i_id(int b,int zweigstelle,int *retval);
1073
+ DLL_EXPORT int lut_bic_id(char *b,int zweigstelle,int *retval);
1074
+ DLL_EXPORT int lut_bic_i_id(int b,int zweigstelle,int *retval);
1075
+ DLL_EXPORT int lut_bic_h_id(char *b,int zweigstelle,int *retval);
1076
+ DLL_EXPORT int lut_bic_hi_id(int b,int zweigstelle,int *retval);
1077
+
1078
+ DLL_EXPORT int bic_bic_id(char *bic_name,int mode,int filiale,int*retval);
1079
+ DLL_EXPORT int bic_bic_h_id(char *bic_name,int mode,int filiale,int*retval);
1080
+ DLL_EXPORT int bic_name_id(char *bic_name,int mode,int filiale,int*retval);
1081
+ DLL_EXPORT int bic_name_kurz_id(char *bic_name,int mode,int filiale,int*retval);
1082
+ DLL_EXPORT int bic_ort_id(char *bic_name,int mode,int filiale,int*retval);
1083
+
1084
+ DLL_EXPORT int biq_bic_id(int idx,int*retval);
1085
+ DLL_EXPORT int biq_bic_h_id(int idx,int*retval);
1086
+ DLL_EXPORT int biq_name_id(int idx,int*retval);
1087
+ DLL_EXPORT int biq_name_kurz_id(int idx,int*retval);
1088
+ DLL_EXPORT int biq_ort_id(int idx,int*retval);
1089
+
1090
+ DLL_EXPORT int iban_bic_id(char *iban,int filiale,int*retval);
1091
+ DLL_EXPORT int iban_bic_h_id(char *iban,int filiale,int*retval);
1092
+ DLL_EXPORT int iban_name_id(char *iban,int filiale,int*retval);
1093
+ DLL_EXPORT int iban_name_kurz_id(char *iban,int filiale,int*retval);
1094
+ DLL_EXPORT int iban_ort_id(char *iban,int filiale,int*retval);
1095
+
1046
1096
  /*
1047
1097
  * ######################################################################
1048
1098
  * # globale Variablen #