diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-10-27 17:38:41 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-10-27 17:38:41 (GMT) |
commit | 5b44fb0d6530c4ff66a446afb69933aa8ffd014f (patch) | |
tree | e059f66d1f612e21fe9d83f9620c8715530353ec /funtools/funmainlib.c | |
parent | da2e3d212171bbe64c1af39114fd067308656990 (diff) | |
parent | 23c7930d27fe11c4655e1291a07a821dbbaba78d (diff) | |
download | blt-5b44fb0d6530c4ff66a446afb69933aa8ffd014f.zip blt-5b44fb0d6530c4ff66a446afb69933aa8ffd014f.tar.gz blt-5b44fb0d6530c4ff66a446afb69933aa8ffd014f.tar.bz2 |
Merge commit '23c7930d27fe11c4655e1291a07a821dbbaba78d' as 'funtools'
Diffstat (limited to 'funtools/funmainlib.c')
-rw-r--r-- | funtools/funmainlib.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/funtools/funmainlib.c b/funtools/funmainlib.c new file mode 100644 index 0000000..4af894e --- /dev/null +++ b/funtools/funmainlib.c @@ -0,0 +1,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; +} + |