konto_check 6.07.0 → 6.08.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e67c089cb69098527f09a67d389e77a22f85125f1fce9420a33996c97eae5338
|
|
4
|
+
data.tar.gz: 63e38e1fccc8b3cc79073298d57b4e89eb992896c10634b8cb8529ff36d192a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4834fb2d2ae0d8f47d1af2b146d5a35d2a8e69c97931df11ad3431117d93bb22e973f3f07806af450c65e69469dd2ac6056828135f7cba432522de2f47ae73e
|
|
7
|
+
data.tar.gz: 7d3d13c5041d1651a9c898630fbd9b51892afb5ec5bcf653b35eb53565bcf34321cfcf77b852c9567d31858eac285ebae850cd9147caa744d106c91e1486c034
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* # wurden aus der aktuellen BLZ-Datei der Deutschen Bundesbank #
|
|
14
14
|
* # �bernommen. #
|
|
15
15
|
* # #
|
|
16
|
-
* # Copyright (C) 2002-
|
|
16
|
+
* # Copyright (C) 2002-2019 Michael Plugge <m.plugge@hs-mannheim.de> #
|
|
17
17
|
* # #
|
|
18
18
|
* # Dieses Programm ist freie Software; Sie d�rfen es unter den #
|
|
19
19
|
* # Bedingungen der GNU Lesser General Public License, wie von der Free #
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
|
|
50
50
|
/* Definitionen und Includes */
|
|
51
51
|
#ifndef VERSION
|
|
52
|
-
#define VERSION "6.
|
|
52
|
+
#define VERSION "6.08 (final)"
|
|
53
53
|
#define VERSION_MAJOR 6
|
|
54
|
-
#define VERSION_MINOR
|
|
54
|
+
#define VERSION_MINOR 08
|
|
55
55
|
#endif
|
|
56
|
-
#define VERSION_DATE "
|
|
56
|
+
#define VERSION_DATE "2019-03-19"
|
|
57
57
|
|
|
58
58
|
#ifndef INCLUDE_KONTO_CHECK_DE
|
|
59
59
|
#define INCLUDE_KONTO_CHECK_DE 1
|
|
@@ -8260,37 +8260,6 @@ static int iban_regel_cvt(char *blz,char *kto,const char **bicp,int regel_versio
|
|
|
8260
8260
|
/* SEB AG */
|
|
8261
8261
|
case 56:
|
|
8262
8262
|
/* ab Dezember 2018 entf�llt die Regel 56, bleibt jedoch frei */
|
|
8263
|
-
if(pz_aenderungen_aktivieren_2018_12)return OK;
|
|
8264
|
-
|
|
8265
|
-
/* f�r die folgenden BLZs sind nur zehnstelllige Kontonummern erlaubt: */
|
|
8266
|
-
/* die Liste wurde zum September 2018 kr�ftig gek�rzt */
|
|
8267
|
-
switch(b){
|
|
8268
|
-
case 10010111:
|
|
8269
|
-
case 13010111:
|
|
8270
|
-
case 20010111:
|
|
8271
|
-
case 21010111:
|
|
8272
|
-
case 23010111:
|
|
8273
|
-
case 25010111:
|
|
8274
|
-
case 27010111:
|
|
8275
|
-
case 30010111:
|
|
8276
|
-
case 36010111:
|
|
8277
|
-
case 37010111:
|
|
8278
|
-
case 38010111:
|
|
8279
|
-
case 39010111:
|
|
8280
|
-
case 44010111:
|
|
8281
|
-
case 50010111:
|
|
8282
|
-
case 50510111:
|
|
8283
|
-
case 51010111:
|
|
8284
|
-
case 51310111:
|
|
8285
|
-
case 55010111:
|
|
8286
|
-
case 60010111:
|
|
8287
|
-
case 70010111:
|
|
8288
|
-
case 76010111:
|
|
8289
|
-
case 86010111:
|
|
8290
|
-
if(k1<10)return INVALID_KTO;
|
|
8291
|
-
default:
|
|
8292
|
-
break;
|
|
8293
|
-
}
|
|
8294
8263
|
RETURN_OK;
|
|
8295
8264
|
|
|
8296
8265
|
/* Iban-Regel 0057.00 +���3 */
|
|
@@ -8310,7 +8279,7 @@ static int iban_regel_cvt(char *blz,char *kto,const char **bicp,int regel_versio
|
|
|
8310
8279
|
}
|
|
8311
8280
|
}
|
|
8312
8281
|
|
|
8313
|
-
#line
|
|
8282
|
+
#line 8842 "konto_check.lxx"
|
|
8314
8283
|
/* Funktion lut_multiple() +���2 */
|
|
8315
8284
|
/* ###########################################################################
|
|
8316
8285
|
* # lut_multiple(): Universalfunktion, um zu einer gegebenen Bankleitzahl #
|
|
@@ -8578,7 +8547,7 @@ DLL_EXPORT int lut_cleanup(void)
|
|
|
8578
8547
|
FREE(sort_pz_f);
|
|
8579
8548
|
FREE(sort_plz);
|
|
8580
8549
|
FREE(sort_iban_regel);
|
|
8581
|
-
#line
|
|
8550
|
+
#line 9104 "konto_check.lxx"
|
|
8582
8551
|
if(name_raw && name_data!=name_raw)
|
|
8583
8552
|
FREE(name_raw);
|
|
8584
8553
|
else
|
|
@@ -8655,7 +8624,7 @@ DLL_EXPORT int lut_cleanup(void)
|
|
|
8655
8624
|
lut_cleanup(); /* neuer Versuch, aufzur�umen */
|
|
8656
8625
|
RETURN(INIT_FATAL_ERROR);
|
|
8657
8626
|
}
|
|
8658
|
-
#line
|
|
8627
|
+
#line 9186 "konto_check.lxx"
|
|
8659
8628
|
init_status&=1;
|
|
8660
8629
|
init_in_progress=0;
|
|
8661
8630
|
return OK;
|
|
@@ -9122,7 +9091,7 @@ static void init_atoi_table(void)
|
|
|
9122
9091
|
lut_block_name2[130]="2. SCL Banknamen";
|
|
9123
9092
|
lut_block_name2[131]="2. SCL Flags";
|
|
9124
9093
|
lut_blocklen_max=521;
|
|
9125
|
-
#line
|
|
9094
|
+
#line 9426 "konto_check.lxx"
|
|
9126
9095
|
init_status|=1;
|
|
9127
9096
|
}
|
|
9128
9097
|
|
|
@@ -9182,7 +9151,7 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
9182
9151
|
|
|
9183
9152
|
switch(pz_methode){
|
|
9184
9153
|
|
|
9185
|
-
#line
|
|
9154
|
+
#line 9489 "konto_check.lxx"
|
|
9186
9155
|
/* Berechnungsmethoden 00 bis 09 +���3
|
|
9187
9156
|
Berechnung nach der Methode 00 +���4 */
|
|
9188
9157
|
/*
|
|
@@ -11517,7 +11486,7 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
11517
11486
|
* ######################################################################
|
|
11518
11487
|
*/
|
|
11519
11488
|
|
|
11520
|
-
#line
|
|
11489
|
+
#line 11500 "konto_check.lxx"
|
|
11521
11490
|
case 51:
|
|
11522
11491
|
if(*(kto+2)=='9'){ /* Ausnahme */
|
|
11523
11492
|
|
|
@@ -11779,8 +11748,8 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
11779
11748
|
else
|
|
11780
11749
|
return FALSE;
|
|
11781
11750
|
|
|
11782
|
-
#line
|
|
11783
|
-
#line
|
|
11751
|
+
#line 11714 "konto_check.lxx"
|
|
11752
|
+
#line 11716 "konto_check.lxx"
|
|
11784
11753
|
/* Berechnung nach der Methode 53 +���4 */
|
|
11785
11754
|
/*
|
|
11786
11755
|
* ######################################################################
|
|
@@ -12079,7 +12048,7 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
12079
12048
|
* # bewerten. #
|
|
12080
12049
|
* ######################################################################
|
|
12081
12050
|
*/
|
|
12082
|
-
#line
|
|
12051
|
+
#line 11985 "konto_check.lxx"
|
|
12083
12052
|
case 57:
|
|
12084
12053
|
#if DEBUG>0
|
|
12085
12054
|
if(retvals){
|
|
@@ -12725,7 +12694,7 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
12725
12694
|
* # Pr�fzifferberechnung) #
|
|
12726
12695
|
* ######################################################################
|
|
12727
12696
|
*/
|
|
12728
|
-
#line
|
|
12697
|
+
#line 12565 "konto_check.lxx"
|
|
12729
12698
|
case 66:
|
|
12730
12699
|
#if DEBUG>0
|
|
12731
12700
|
case 2066:
|
|
@@ -17796,7 +17765,6 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
17796
17765
|
if(pz==10)break;
|
|
17797
17766
|
}
|
|
17798
17767
|
pz=i;
|
|
17799
|
-
INVALID_PZ10;
|
|
17800
17768
|
if(*(kto_alt+5)-'0'==pz)return ok;
|
|
17801
17769
|
#if DEBUG>0
|
|
17802
17770
|
if(untermethode)return FALSE;
|
|
@@ -20046,7 +20014,7 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
20046
20014
|
* # Die 10. Stelle der Kontonummer ist die Pr�fziffer. #
|
|
20047
20015
|
* # #
|
|
20048
20016
|
* # Variante 1: #
|
|
20049
|
-
* # Modulus 11, Gewichtung 2, 3, 4, 5, 6, 7, 8, 9, 2
|
|
20017
|
+
* # Modulus 11, Gewichtung 2, 3, 4, 5, 6, 7, 8, 9, 2 #
|
|
20050
20018
|
* # Die Berechnung erfolgt nach der Methode 02. #
|
|
20051
20019
|
* # #
|
|
20052
20020
|
* # F�hrt die Berechnung nach Variante 1 zu einem #
|
|
@@ -20086,7 +20054,6 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
20086
20054
|
|
|
20087
20055
|
MOD_11_352; /* pz%=11 */
|
|
20088
20056
|
if(pz)pz=11-pz;
|
|
20089
|
-
INVALID_PZ10;
|
|
20090
20057
|
CHECK_PZX10;
|
|
20091
20058
|
|
|
20092
20059
|
/* Variante 2: Berechnung nach der Methode 00 */
|
|
@@ -20136,7 +20103,7 @@ static int kto_check_int(char *x_blz,int pz_methode,char *kto)
|
|
|
20136
20103
|
return NOT_IMPLEMENTED;
|
|
20137
20104
|
}
|
|
20138
20105
|
}
|
|
20139
|
-
#line
|
|
20106
|
+
#line 18777 "konto_check.lxx"
|
|
20140
20107
|
|
|
20141
20108
|
/*
|
|
20142
20109
|
* ######################################################################
|
|
@@ -20234,7 +20201,7 @@ DLL_EXPORT int kto_check_blz(char *blz,char *kto)
|
|
|
20234
20201
|
#if DEBUG>0 /* es werden einige Funktionen benutzt, die nur in der Debug-Variante enthalten sind */
|
|
20235
20202
|
DLL_EXPORT int kto_check_regel_dbg(char *blz,char *kto,char *blz2,char *kto2,const char **bic,int *regel,RETVAL *retvals)
|
|
20236
20203
|
{
|
|
20237
|
-
#line
|
|
20204
|
+
#line 18875 "konto_check.lxx"
|
|
20238
20205
|
char *blz_o,buffer[32],kto_o[16],*blz_n,*kto_n,*ptr,*dptr;
|
|
20239
20206
|
const char *bicp;
|
|
20240
20207
|
int ret,ret_regel,r,i;
|
|
@@ -20283,7 +20250,7 @@ DLL_EXPORT int kto_check_regel_dbg(char *blz,char *kto,char *blz2,char *kto2,con
|
|
|
20283
20250
|
}
|
|
20284
20251
|
else /* BLZ und Kto gleich */
|
|
20285
20252
|
return ret;
|
|
20286
|
-
#line
|
|
20253
|
+
#line 18924 "konto_check.lxx"
|
|
20287
20254
|
}
|
|
20288
20255
|
|
|
20289
20256
|
#else /* !DEBUG */
|
|
@@ -20434,7 +20401,7 @@ DLL_EXPORT int kto_check_blz_dbg(char *blz,char *kto,RETVAL *retvals)
|
|
|
20434
20401
|
* # Copyright (C) 2007 Michael Plugge <m.plugge@hs-mannheim.de> #
|
|
20435
20402
|
* ###########################################################################
|
|
20436
20403
|
*/
|
|
20437
|
-
#line
|
|
20404
|
+
#line 19075 "konto_check.lxx"
|
|
20438
20405
|
DLL_EXPORT int kto_check_pz_dbg(char *pz,char *kto,char *blz,RETVAL *retvals)
|
|
20439
20406
|
{
|
|
20440
20407
|
int untermethode,pz_methode;
|
|
@@ -20670,7 +20637,7 @@ DLL_EXPORT int get_lut_info2_b(char *lutname,int *version,char **prolog_p,char *
|
|
|
20670
20637
|
}
|
|
20671
20638
|
else
|
|
20672
20639
|
**user_info_p=0;
|
|
20673
|
-
#line
|
|
20640
|
+
#line 19296 "konto_check.lxx"
|
|
20674
20641
|
FREE(prolog);
|
|
20675
20642
|
return OK;
|
|
20676
20643
|
}
|
|
@@ -20808,17 +20775,17 @@ DLL_EXPORT const char *get_kto_check_version_x(int mode)
|
|
|
20808
20775
|
if(pz_aenderungen_aktivieren_2018_12)
|
|
20809
20776
|
return "03.12.2018";
|
|
20810
20777
|
else
|
|
20811
|
-
return "
|
|
20778
|
+
return "03.12.2018 (Aenderungen vom 03.12.2018 enthalten aber noch nicht aktiviert)";
|
|
20812
20779
|
case 5:
|
|
20813
|
-
return "03.
|
|
20780
|
+
return "04.03.2019";
|
|
20814
20781
|
case 6:
|
|
20815
|
-
return "4.
|
|
20782
|
+
return "4. M�rz 2019"; /* Klartext-Datum der Bibliotheksversion */
|
|
20816
20783
|
case 7:
|
|
20817
20784
|
return "final"; /* Versions-Typ der Bibliotheksversion (development, beta, final) */
|
|
20818
20785
|
case 8:
|
|
20819
20786
|
return "6"; /* Hauptversionszahl */
|
|
20820
20787
|
case 9:
|
|
20821
|
-
return "
|
|
20788
|
+
return "08"; /* Unterversionszahl */
|
|
20822
20789
|
}
|
|
20823
20790
|
}
|
|
20824
20791
|
|
|
@@ -20964,7 +20931,7 @@ DLL_EXPORT int dump_lutfile(char *outputname,UINT4 *required)
|
|
|
20964
20931
|
default:
|
|
20965
20932
|
break;
|
|
20966
20933
|
}
|
|
20967
|
-
#line
|
|
20934
|
+
#line 19529 "konto_check.lxx"
|
|
20968
20935
|
fputc('\n',out);
|
|
20969
20936
|
while(--i)fputc('=',out);
|
|
20970
20937
|
fputc('\n',out);
|
|
@@ -21289,7 +21256,7 @@ DLL_EXPORT const char *iban2bic_id(char *iban,int *retval,int *blz,int *kto)
|
|
|
21289
21256
|
return iban2bic(iban,retval,b,k);
|
|
21290
21257
|
}
|
|
21291
21258
|
|
|
21292
|
-
#line
|
|
21259
|
+
#line 19854 "konto_check.lxx"
|
|
21293
21260
|
/* Funktion iban_gen(), iban_bic_gen() und iban_bic_gen1 +���1 */
|
|
21294
21261
|
/* ###########################################################################
|
|
21295
21262
|
* # Die Funktion iban_gen generiert aus Bankleitzahl und Kontonummer eine #
|
|
@@ -22122,7 +22089,7 @@ DLL_EXPORT int ipi_check(char *zweck)
|
|
|
22122
22089
|
* # Copyright (C) 2009,2011 Michael Plugge <m.plugge@hs-mannheim.de> #
|
|
22123
22090
|
* ###########################################################################
|
|
22124
22091
|
*/
|
|
22125
|
-
#line
|
|
22092
|
+
#line 20687 "konto_check.lxx"
|
|
22126
22093
|
|
|
22127
22094
|
/* Funktion volltext_zeichen() +���2 */
|
|
22128
22095
|
/* Diese Funktion gibt f�r Zeichen die bei der Volltextsuche g�ltig sind
|
|
@@ -22969,7 +22936,7 @@ static int qcmp_bic_h(const void *ap,const void *bp)
|
|
|
22969
22936
|
return a-b;
|
|
22970
22937
|
}
|
|
22971
22938
|
|
|
22972
|
-
#line
|
|
22939
|
+
#line 21534 "konto_check.lxx"
|
|
22973
22940
|
|
|
22974
22941
|
/* Funktion qcmp_bic() +���3 */
|
|
22975
22942
|
static int qcmp_bic(const void *ap,const void *bp)
|
|
@@ -23074,7 +23041,7 @@ static int qcmp_iban_regel(const void *ap,const void *bp)
|
|
|
23074
23041
|
else
|
|
23075
23042
|
return a-b;
|
|
23076
23043
|
}
|
|
23077
|
-
#line
|
|
23044
|
+
#line 21549 "konto_check.lxx"
|
|
23078
23045
|
|
|
23079
23046
|
/* Funktion init_blzf() +���2
|
|
23080
23047
|
* Diese Funktion initialisiert das Array mit den Bankleitzahlen f�r alle
|
|
@@ -23142,7 +23109,7 @@ DLL_EXPORT int konto_check_idx2blz(int idx,int *zweigstelle,int *retval)
|
|
|
23142
23109
|
}
|
|
23143
23110
|
|
|
23144
23111
|
/* Funktion suche_int1() +���2 */
|
|
23145
|
-
#line
|
|
23112
|
+
#line 21617 "konto_check.lxx"
|
|
23146
23113
|
static int suche_int1(int a1,int a2,int *anzahl,int **start_idx,int **zweigstellen_base,int **blz_base,
|
|
23147
23114
|
int **base_name,int **base_sort,int(*cmp)(const void *, const void *),int cnt,int such_idx)
|
|
23148
23115
|
{
|
|
@@ -23193,7 +23160,7 @@ static int suche_int1(int a1,int a2,int *anzahl,int **start_idx,int **zweigstell
|
|
|
23193
23160
|
}
|
|
23194
23161
|
|
|
23195
23162
|
/* Funktion suche_int2() +���2 */
|
|
23196
|
-
#line
|
|
23163
|
+
#line 21668 "konto_check.lxx"
|
|
23197
23164
|
static int suche_int2(int a1,int a2,int *anzahl,int **start_idx,int **zweigstellen_base,int **blz_base,
|
|
23198
23165
|
int **base_name,int **base_sort,int(*cmp)(const void *, const void *),int such_idx,int pz_suche)
|
|
23199
23166
|
{
|
|
@@ -23808,7 +23775,7 @@ static int cmp_suche_sort(const void *ap,const void *bp)
|
|
|
23808
23775
|
DLL_EXPORT int lut_suche_sort1(int anzahl,int *blz_base,int *zweigstellen_base,int *idx,int *anzahl_o,int **idx_op,int **cnt_op,int uniq)
|
|
23809
23776
|
{
|
|
23810
23777
|
int i,j,last_idx,*idx_a,*cnt_o;
|
|
23811
|
-
#line
|
|
23778
|
+
#line 22284 "konto_check.lxx"
|
|
23812
23779
|
|
|
23813
23780
|
if(idx_op)*idx_op=NULL;
|
|
23814
23781
|
if(cnt_op)*cnt_op=NULL;
|
|
@@ -23890,7 +23857,7 @@ DLL_EXPORT int lut_suche_sort2(int anzahl,int *blz,int *zweigstellen,int *anzahl
|
|
|
23890
23857
|
return OK;
|
|
23891
23858
|
}
|
|
23892
23859
|
|
|
23893
|
-
#line
|
|
23860
|
+
#line 22367 "konto_check.lxx"
|
|
23894
23861
|
/* Funktion lut_suche_volltext() +���2 */
|
|
23895
23862
|
DLL_EXPORT int lut_suche_volltext(char *such_wort,int *anzahl,int *base_name_idx,char ***base_name,
|
|
23896
23863
|
int *zweigstellen_anzahl,int **start_idx,int **zweigstellen_base,int **blz_base)
|
|
@@ -24020,7 +23987,7 @@ DLL_EXPORT int lut_suche_blz(int such1,int such2,int *anzahl,int **start_idx,int
|
|
|
24020
23987
|
return suche_int1(such1,such2,anzahl,start_idx,zweigstellen_base,blz_base,&blz_f,&sort_blz,qcmp_blz,cnt,0);
|
|
24021
23988
|
}
|
|
24022
23989
|
|
|
24023
|
-
#line
|
|
23990
|
+
#line 22517 "konto_check.lxx"
|
|
24024
23991
|
/* Funktion lut_suche_bic() +���2 */
|
|
24025
23992
|
DLL_EXPORT int lut_suche_bic(char *such_name,int *anzahl,int **start_idx,int **zweigstellen_base,
|
|
24026
23993
|
char ***base_name,int **blz_base)
|
|
@@ -24111,7 +24078,7 @@ DLL_EXPORT int lut_suche_regel(int such1,int such2,int *anzahl,int **start_idx,i
|
|
|
24111
24078
|
return suche_int2(such1*100,such2*100+99,anzahl,start_idx,zweigstellen_base,blz_base,&iban_regel,&sort_iban_regel,qcmp_iban_regel,LUT2_IBAN_REGEL_SORT,0);
|
|
24112
24079
|
}
|
|
24113
24080
|
|
|
24114
|
-
#line
|
|
24081
|
+
#line 22550 "konto_check.lxx"
|
|
24115
24082
|
|
|
24116
24083
|
/* Funktion lut_suche_bic_h() +���2 */
|
|
24117
24084
|
DLL_EXPORT int lut_suche_bic_h(char *such_name,int *anzahl,int **start_idx,int **zweigstellen_base,
|
|
@@ -24497,7 +24464,7 @@ DLL_EXPORT const char *iban_ort(char *iban,int filiale,int*retval)
|
|
|
24497
24464
|
{
|
|
24498
24465
|
return iban_fkt_s(iban,filiale,retval,lut_ort);
|
|
24499
24466
|
}
|
|
24500
|
-
#line
|
|
24467
|
+
#line 22639 "konto_check.lxx"
|
|
24501
24468
|
|
|
24502
24469
|
static int bic_fkt_c(char *bic1,int mode,int filiale,int *retval,char *base,int error)
|
|
24503
24470
|
{
|
|
@@ -25786,7 +25753,7 @@ DLL_EXPORT const char *pz2str(int pz,int *ret)
|
|
|
25786
25753
|
default: return "???";
|
|
25787
25754
|
}
|
|
25788
25755
|
}
|
|
25789
|
-
#line
|
|
25756
|
+
#line 23594 "konto_check.lxx"
|
|
25790
25757
|
|
|
25791
25758
|
/* Funktion lut_keine_iban_berechnung() +���1 */
|
|
25792
25759
|
/*
|
|
@@ -25950,7 +25917,7 @@ DLL_EXPORT char *kto_check_test_vars(char *txt,UINT4 i)
|
|
|
25950
25917
|
#endif
|
|
25951
25918
|
|
|
25952
25919
|
|
|
25953
|
-
#line
|
|
25920
|
+
#line 23758 "konto_check.lxx"
|
|
25954
25921
|
/* Funktionen *_id() +���1 */
|
|
25955
25922
|
/* ###########################################################################
|
|
25956
25923
|
* # Die folgenden Funktionen sind die id-Varianten von Funktionen, die #
|
|
@@ -26357,13 +26324,13 @@ DLL_EXPORT int lut_write_scl_blocks(char *inputfile,char *lutfile)
|
|
|
26357
26324
|
stat(inputfile,&stat_buffer);
|
|
26358
26325
|
cnt=stat_buffer.st_size/163+100; /* etwas gro�z�gig die Anzahl rechnen */
|
|
26359
26326
|
|
|
26360
|
-
scl_bic_array=calloc(sizeof(char*),cnt);
|
|
26361
|
-
scl_name_array=calloc(sizeof(char*),cnt);
|
|
26362
|
-
scl_flags_array=calloc(sizeof(char*),cnt);
|
|
26327
|
+
scl_bic_array=(char **)calloc(sizeof(char*),cnt);
|
|
26328
|
+
scl_name_array=(char **)calloc(sizeof(char*),cnt);
|
|
26329
|
+
scl_flags_array=(char **)calloc(sizeof(char*),cnt);
|
|
26363
26330
|
|
|
26364
|
-
scl_bic_block=ptr1=calloc(12,cnt);
|
|
26365
|
-
scl_name_block=ptr2=calloc(150,cnt);
|
|
26366
|
-
scl_flags_block=ptr3=calloc(6,cnt);
|
|
26331
|
+
scl_bic_block=ptr1=(char *)calloc(12,cnt);
|
|
26332
|
+
scl_name_block=ptr2=(char *)calloc(150,cnt);
|
|
26333
|
+
scl_flags_block=ptr3=(char *)calloc(6,cnt);
|
|
26367
26334
|
|
|
26368
26335
|
/* SCL-Datei einlesen */
|
|
26369
26336
|
for(cnt=0;fgets(buffer,512,in);){
|
|
@@ -26394,15 +26361,15 @@ DLL_EXPORT int lut_write_scl_blocks(char *inputfile,char *lutfile)
|
|
|
26394
26361
|
fclose(in);
|
|
26395
26362
|
|
|
26396
26363
|
/* Sortierarray aufbauen */
|
|
26397
|
-
iptr=calloc(sizeof(int),cnt);
|
|
26364
|
+
iptr=(int* )calloc(sizeof(int),cnt);
|
|
26398
26365
|
for(i=0;i<cnt;i++)iptr[i]=i;
|
|
26399
26366
|
|
|
26400
26367
|
/* vor dem Abspeichern der Blocks nach BICs sortieren */
|
|
26401
26368
|
qsort(iptr,cnt,sizeof(int),cmp_bic);
|
|
26402
26369
|
|
|
26403
|
-
ptr1=scl_bic_block_s=calloc(1,ptr1-scl_bic_block+16);
|
|
26404
|
-
ptr2=scl_name_block_s=calloc(1,ptr2-scl_name_block+16);
|
|
26405
|
-
ptr3=scl_flags_block_s=calloc(1,ptr3-scl_flags_block+16);
|
|
26370
|
+
ptr1=scl_bic_block_s=(char *)calloc(1,ptr1-scl_bic_block+16);
|
|
26371
|
+
ptr2=scl_name_block_s=(char *)calloc(1,ptr2-scl_name_block+16);
|
|
26372
|
+
ptr3=scl_flags_block_s=(char *)calloc(1,ptr3-scl_flags_block+16);
|
|
26406
26373
|
for(i=0;i<cnt;i++){
|
|
26407
26374
|
j=iptr[i];
|
|
26408
26375
|
for(ptr=scl_bic_array[j];(*ptr1++=*ptr++););
|
|
@@ -26459,7 +26426,7 @@ DLL_EXPORT int lut_write_scl_blocks(char *inputfile,char *lutfile)
|
|
|
26459
26426
|
RETURN(OK);
|
|
26460
26427
|
}
|
|
26461
26428
|
|
|
26462
|
-
#line
|
|
26429
|
+
#line 24267 "konto_check.lxx"
|
|
26463
26430
|
/* Funktion lut_scl_init() +���3 */
|
|
26464
26431
|
/* ###########################################################################
|
|
26465
26432
|
* # Die Funktion lut_scl_init() liest die SCL-Blocks aus einer LUT-Datei #
|
|
@@ -26510,9 +26477,9 @@ DLL_EXPORT int lut_scl_init(char *lut_name)
|
|
|
26510
26477
|
if((i=sscanf(scl_info_block,"cnt: %d, TS: %ld, Gueltigkeit: %15s %15s",
|
|
26511
26478
|
&cnt,&scl_ts,(char *)&scl_gueltigkeit,(char *)&scl_gueltigkeit_iso))!=4)RETURN(INVALID_SCL_INFO_BLOCK);
|
|
26512
26479
|
|
|
26513
|
-
scl_bic_array=calloc(sizeof(char*),cnt);
|
|
26514
|
-
scl_name_array=calloc(sizeof(char*),cnt);
|
|
26515
|
-
scl_flags_array=calloc(sizeof(char*),cnt);
|
|
26480
|
+
scl_bic_array=(char **)calloc(sizeof(char*),cnt);
|
|
26481
|
+
scl_name_array=(char **)calloc(sizeof(char*),cnt);
|
|
26482
|
+
scl_flags_array=(char **)calloc(sizeof(char*),cnt);
|
|
26516
26483
|
|
|
26517
26484
|
for(i=0,ptr=scl_bic_block,end=scl_bic_block+block_size_1;i<cnt && ptr<end;i++){
|
|
26518
26485
|
scl_bic_array[i]=ptr;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* # Verwendung in anderen Programmen bzw. Programmiersprachen benutzt #
|
|
11
11
|
* # werden. #
|
|
12
12
|
* # #
|
|
13
|
-
* # Copyright (C) 2002-
|
|
13
|
+
* # Copyright (C) 2002-2019 Michael Plugge <m.plugge@hs-mannheim.de> #
|
|
14
14
|
* # #
|
|
15
15
|
* # Dieses Programm ist freie Software; Sie d�rfen es unter den #
|
|
16
16
|
* # Bedingungen der GNU Lesser General Public License, wie von der Free #
|
|
@@ -4358,7 +4358,7 @@ void Init_konto_check_raw()
|
|
|
4358
4358
|
*
|
|
4359
4359
|
* <b>ATTENTION:</b> There are a few important changes in the API between
|
|
4360
4360
|
* version 0.0.2 (version by Peter Horn/Provideal), version 0.0.6 (jeanmartin)
|
|
4361
|
-
* and this version (V. 6.
|
|
4361
|
+
* and this version (V. 6.08 from 2019-03-19):
|
|
4362
4362
|
*
|
|
4363
4363
|
* * The function KontoCheck::load_bank_data() is no longer used; it is
|
|
4364
4364
|
* replaced by KontoCheck::init() and KontoCheck::generate_lutfile().
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: konto_check
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.08.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Provideal Systems GmbH
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2019-03-19 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: thoughtbot-shoulda
|