home *** CD-ROM | disk | FTP | other *** search
- #include <stdlib.h>
-
- #include <proto/icon.h>
-
- extern int testStart(char **toolTypes);
-
- int main(int argc, char **argv)
- {
- char** toolTypes;
- int i,status;
-
- if( !(toolTypes = calloc(argc,sizeof(char**))) )
- return 100;
-
- for( i = 0 ; i < argc-1 ; i++ )
- toolTypes[i] = argv[i+1];
-
- status = testStart(toolTypes);
-
- free(toolTypes);
-
- return status;
- }
-