From ee15e1da29eea49057ea3b87ac861e6a2f1fea96 Mon Sep 17 00:00:00 2001 From: M.Gergő Date: Wed, 20 May 2020 00:20:53 +0200 Subject: New function: lciniReadOutOwn() + Clarifying numeric types --- src/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 7c4b0d5..04c911a 100644 --- a/src/main.c +++ b/src/main.c @@ -17,10 +17,12 @@ lcinimyReadFunc mylciniReadOutFunct=myfunct; + + void myfunct(int line, int linelen, char *section, int sectionlen, char *param, int paramlen, char *value, int valuelen, char *comment, int commentlen, char *error, int errorlen ){ - printf("LN: %d,\tLL: %d,\tSC: %*s,%2d P: %*s,%2d V: %*s,%2d C: %*s,%2d ER: %*s \n", line, linelen, lens, section,sectionlen, - lenp, param, paramlen, lenv, value, valuelen, lenc, comment, commentlen, elen, error); + printf("LN: %d,\tLL: %d,\tSC: %*s,%2d P: %*s,%2d V: %*s,%2d C: %*s,%2d ER: %*s,%2d\n", line, linelen, lens, section,sectionlen, + lenp, param, paramlen, lenv, value, valuelen, lenc, comment, commentlen, elen, error, errorlen); } -- cgit v1.2.3