File: funmainlib.c

package info (click to toggle)
funtools 1.4.4+dfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,168 kB
  • ctags: 10,760
  • sloc: ansic: 87,238; sh: 9,727; lex: 4,595; asm: 3,281; ada: 1,681; makefile: 1,458; pascal: 1,089; cpp: 1,001; cs: 879; perl: 161; yacc: 64; sed: 32; csh: 10; tcl: 9
file content (48 lines) | stat: -rw-r--r-- 1,828 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include <mainlib.h>


int funcalc_main _PRx((int argc, char **argv));
int funcen_main _PRx((int argc, char **argv));
int funcnts_main _PRx((int argc, char **argv));
int funcone_main _PRx((int argc, char **argv));
int fundisp_main _PRx((int argc, char **argv));
int funhead_main _PRx((int argc, char **argv));
int funhist_main _PRx((int argc, char **argv));
int funimage_main _PRx((int argc, char **argv));
int funjoin_main _PRx((int argc, char **argv));
int funmerge_main _PRx((int argc, char **argv));
int funsky_main _PRx((int argc, char **argv));
int funtable_main _PRx((int argc, char **argv));

void *funtoolsMainLibInit(void)
{
  MainLib ml;
  if( !(ml=MainLibNew()) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funcalc", funcalc_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funcen", funcen_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funcnts", funcnts_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funcone", funcone_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "fundisp", fundisp_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funhead", funhead_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funhist", funhist_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funimage", funimage_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funjoin", funjoin_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funmerge", funmerge_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funsky", funsky_main, MAINLIB_ARGV) )
     return NULL;
  if( !MainLibAdd(ml, "funtools", "funtable", funtable_main, MAINLIB_ARGV) )
     return NULL;
  return ml;
}