/home/dko/projects/mobilec/trunk/src/include/agent_lib.h

Go to the documentation of this file.
00001 /*[
00002  * Copyright (c) 2007 Integration Engineering Laboratory
00003                       University of California, Davis
00004  *
00005  * Permission to use, copy, and distribute this software and its
00006  * documentation for any purpose with or without fee is hereby granted,
00007  * provided that the above copyright notice appear in all copies and
00008  * that both that copyright notice and this permission notice appear
00009  * in supporting documentation.
00010  *
00011  * Permission to modify the software is granted, but not the right to
00012  * distribute the complete modified source code.  Modifications are to
00013  * be distributed as patches to the released version.  Permission to
00014  * distribute binaries produced by compiling modified sources is granted,
00015  * provided you
00016  *   1. distribute the corresponding source modifications from the
00017  *    released version in the form of a patch file along with the binaries,
00018  *   2. add special version identification to distinguish your version
00019  *    in addition to the base release version number,
00020  *   3. provide your name and address as the primary contact for the
00021  *    support of your modified version, and
00022  *   4. retain our contact information in regard to use of the base
00023  *    software.
00024  * Permission to distribute the released version of the source code along
00025  * with corresponding source modifications in the form of a patch file is
00026  * granted with same provisions 2 through 4 for binary distributions.
00027  *
00028  * This software is provided "as is" without express or implied warranty
00029  * to the extent permitted by applicable law.
00030 ]*/
00031 
00032 #ifndef _AGENT_LIB_H_
00033 #define _AGENT_LIB_H_
00034 EXPORTCH int
00035 MC_AclDestroy_chdl(void* varg);
00036 
00037 EXPORTCH void* 
00038 MC_AclNew_chdl(void* varg);
00039 
00040 EXPORTCH void*
00041 MC_AclPost_chdl(void* varg);
00042 
00043 EXPORTCH void*
00044 MC_AclReply_chdl(void* varg);
00045 
00046 EXPORTCH void*
00047 MC_AclRetrieve_chdl(void* varg);
00048 
00049 EXPORTCH int
00050 MC_AclSend_chdl(void* varg);
00051 
00052 EXPORTCH void*
00053 MC_AclWaitRetrieve_chdl(void *varg);
00054 
00055 /* BEGIN Acl helper functions */
00056 
00057 EXPORTCH void*
00058 MC_Acl_SetPerformative_chdl(void *varg);
00059 
00060 EXPORTCH void*
00061 MC_Acl_SetSender_chdl(void *varg);
00062 
00063 EXPORTCH void*
00064 MC_Acl_AddReceiver_chdl(void *varg);
00065 
00066 EXPORTCH void*
00067 MC_Acl_AddReplyTo_chdl(void *varg);
00068 
00069 EXPORTCH void*
00070 MC_Acl_SetContent_chdl(void *varg);
00071 /* END Acl helper functions */
00072 
00073 EXPORTCH int
00074 MC_AddAgent_chdl(void *varg);
00075 
00076 EXPORTCH int
00077 MC_Barrier_chdl(void *varg);
00078 
00079 EXPORTCH int
00080 MC_BarrierDelete_chdl(void *varg);
00081 
00082 EXPORTCH int
00083 MC_BarrierInit_chdl(void *varg);
00084 
00085 EXPORTCH int
00086 MC_CallAgentFunc_chdl(void *varg);
00087 
00088 EXPORTCH int
00089 MC_ComposeAgent_chdl(void *varg);
00090 
00091 EXPORTCH int
00092 MC_CondBroadcast_chdl(void *varg);
00093 
00094 EXPORTCH int
00095 MC_CondWait_chdl(void *varg);
00096 
00097 EXPORTCH int
00098 MC_CondReset_chdl(void *varg);
00099 
00100 EXPORTCH int
00101 MC_CondSignal_chdl(void *varg);
00102 
00103 EXPORTCH int
00104 MC_DeleteAgent_chdl(void *varg);
00105 
00106 EXPORTCH int
00107 MC_DeregisterService_chdl(void *varg); 
00108 
00109 EXPORTCH int
00110 MC_DestroyServiceSearchResult_chdl(void* varg);
00111 
00112 EXPORTCH int
00113 MC_End_chdl(void *varg);
00114 
00115 EXPORTCH MCAgent_t
00116 MC_FindAgentByID_chdl(void *varg);
00117 
00118 EXPORTCH MCAgent_t
00119 MC_FindAgentByName_chdl(void *varg);
00120 
00121 #if 0 
00122 /* FIXME */
00123 #ifndef _WIN32
00124 EXPORTCH time_t
00125 #else
00126 EXPORTCH SYSTEMTIME
00127 #endif
00128 MC_GetAgentArrivalTime_chdl(void *varg);
00129 #endif
00130 
00131 EXPORTCH int
00132 MC_GetAgentID_chdl(void *varg);
00133 
00134 EXPORTCH char*
00135 MC_GetAgentName_chdl(void *varg);
00136 
00137 EXPORTCH int
00138 MC_GetAgentNumTasks_chdl(void *varg);
00139 
00140 EXPORTCH char *
00141 MC_GetAgentXMLString_chdl(void *varg);
00142 
00143 #ifndef _WIN32
00144 EXPORTCH int
00145 MC_GetTimeOfDay_chdl(void *varg);
00146 #endif
00147 
00148 EXPORTCH int
00149 MC_HaltAgency_chdl(void *varg);
00150 
00151 EXPORTCH int
00152 MC_PrintAgentCode_chdl(void *varg);
00153 
00154 EXPORTCH int
00155 MC_MutexLock_chdl(void *varg);
00156 
00157 EXPORTCH int
00158 MC_MutexUnlock_chdl(void *varg);
00159 
00160 EXPORTCH int
00161 MC_RegisterService_chdl(void *varg);
00162 
00163 EXPORTCH int
00164 MC_ResumeAgency_chdl(void *varg);
00165 
00166 EXPORTCH MCAgent_t
00167 MC_RetrieveAgent_chdl(void *varg);
00168 
00169 EXPORTCH char *
00170 MC_RetrieveAgentCode_chdl(void *varg);
00171 
00172 EXPORTCH char *
00173 MC_SearchForService_chdl(void *varg);
00174 
00175 EXPORTCH int
00176 MC_SemaphorePost_chdl(void *varg);
00177 
00178 EXPORTCH int
00179 MC_SemaphoreWait_chdl(void *varg);
00180 
00181 EXPORTCH int
00182 MC_SendSteerCommand_chdl(void *varg);
00183 
00184 EXPORTCH int
00185 MC_TerminateAgent_chdl(void *varg);
00186 
00187 EXPORTCH int
00188 MC_GetAgentStatus_chdl(void *varg);
00189 
00190 EXPORTCH int
00191 MC_SendAgentMigrationMessage_chdl(void *varg);
00192 
00193 EXPORTCH int
00194 MC_SendAgentMigrationMessageFile_chdl(void *varg);
00195 
00196 EXPORTCH int
00197 MC_SetAgentStatus_chdl(void *varg);
00198 
00199 EXPORTCH int
00200 MC_SetDefaultAgentStatus_chdl(void *varg);
00201 
00202 EXPORTCH int
00203 MC_SyncDelete_chdl(void *varg);
00204 
00205 EXPORTCH int
00206 MC_SyncInit_chdl(void *varg);
00207 
00208 #endif
00209 

Generated on Fri May 16 14:49:54 2008 for Mobile-C by  doxygen 1.5.4