Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ctest.c

Go to the documentation of this file.
00001 /*
00002  * ctest.c
00003  *
00004  * Copyright (c) 2004 The University of Utah and the Flux Group.
00005  * All rights reserved.
00006  *
00007  * This file is licensed under the terms of the GNU Public License.  
00008  * See the file "license.terms" for restrictions on redistribution 
00009  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00010  */
00011 
00012 /**
00013  * @file ctest.c
00014  *
00015  * C based shared library test for allup.
00016  */
00017 
00018 #include "config.h"
00019 
00020 #include <stdio.h>
00021 #include <string.h>
00022 #include <stdarg.h>
00023 #include <assert_pp.h>
00024 #include "factory_library.h"
00025 
00026 int FACTORY_METHOD_SYMBOL(factory_library_op_t op, int tag, va_list args)
00027 {
00028     int retval = EXIT_FAILURE;
00029 
00030     switch( op )
00031     {
00032     case FLO_QUERY:
00033         printf("FLO_QUERY\n");
00034         fflush(stdout);
00035         retval = EXIT_SUCCESS;
00036         break;
00037     case FLO_HEY:
00038         printf("FLO_HEY\n");
00039         fflush(stdout);
00040         retval = EXIT_SUCCESS;
00041         break;
00042     default:
00043         break;
00044     }
00045     return( retval );
00046 }

Generated on Fri Oct 22 07:50:24 2004 for CPU Broker by  doxygen 1.3.9.1