/home/dko/projects/mobilec/tags/MobileC-v1.10.2/MobileC-v1.10.2/src/include/agent_lib.h

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

Generated on Fri Jul 11 17:59:44 2008 for Mobile-C by  doxygen 1.5.4