src/xml_format.c
int
foMain(int argc, char **argv)
{
    int ret = 0;
    int start;
    static foOptions ops;

    if (argc <=1) foUsage(argc, argv, EXIT_BAD_ARGS);
    foInitOptions(&ops);
    start = foParseOptions(&ops, argc, argv);
    if (argc-start > 1) foUsage(argc, argv, EXIT_BAD_ARGS);
    foInitLibXml(&ops);
    ret = foProcess(&ops, start, argc, argv);
    foCleanup();
    
    return ret;
}
/**
 *  This is the main function for 'format' option
 */
This is the main function for 'format' option
This is the main function for ' format ' option
int
foMain(int argc, char **argv)
{
    int ret = 0;
    int start;
    static foOptions ops;
    if (argc <=1) foUsage(argc, argv, EXIT_BAD_ARGS);
    foInitOptions(&ops);
    start = foParseOptions(&ops, argc, argv);
    if (argc-start > 1) foUsage(argc, argv, EXIT_BAD_ARGS);
    foInitLibXml(&ops);
    ret = foProcess(&ops, start, argc, argv);
    foCleanup();
    return ret;
}
int foMain ( int argc , char * * argv ) { int ret = 0 ; int start ; static foOptions ops ; if ( argc <= 1 ) foUsage ( argc , argv , EXIT_BAD_ARGS ) ; foInitOptions ( & ops ) ; start = foParseOptions ( & ops , argc , argv ) ; if ( argc - start > 1 ) foUsage ( argc , argv , EXIT_BAD_ARGS ) ; foInitLibXml ( & ops ) ; ret = foProcess ( & ops , start , argc , argv ) ; foCleanup ( ) ; return ret ; }
This is the main function for 'format' option
This is the main function for ' format ' option