/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_AclSetPerformative_chdl(void *varg);
00059 
00060 EXPORTCH void*
00061 MC_AclSetSender_chdl(void *varg);
00062 
00063 EXPORTCH void*
00064 MC_AclAddReceiver_chdl(void *varg);
00065 
00066 EXPORTCH void*
00067 MC_AclAddReplyTo_chdl(void *varg);
00068 
00069 EXPORTCH void*
00070 MC_AclSetContent_chdl(void *varg);
00071 /* END Acl helper functions */
00072 
00073 EXPORTCH int
00074 MC_AddAgent_chdl(void *varg);
00075 
00076 EXPORTCH const void*
00077 MC_AgentVariableRetrieve_chdl(void* varg);
00078 
00079 EXPORTCH int
00080 MC_AgentVariableSave_chdl(void *varg);
00081 
00082 EXPORTCH int
00083 MC_Barrier_chdl(void *varg);
00084 
00085 EXPORTCH int
00086 MC_BarrierDelete_chdl(void *varg);
00087 
00088 EXPORTCH int
00089 MC_BarrierInit_chdl(void *varg);
00090 
00091 EXPORTCH int
00092 MC_CallAgentFunc_chdl(void *varg);
00093 
00094 EXPORTCH int
00095 MC_ComposeAgent_chdl(void *varg);
00096 
00097 EXPORTCH int
00098 MC_CondBroadcast_chdl(void *varg);
00099 
00100 EXPORTCH int
00101 MC_CondWait_chdl(void *varg);
00102 
00103 EXPORTCH int
00104 MC_CondReset_chdl(void *varg);
00105 
00106 EXPORTCH int
00107 MC_CondSignal_chdl(void *varg);
00108 
00109 EXPORTCH int
00110 MC_DeleteAgent_chdl(void *varg);
00111 
00112 EXPORTCH int
00113 MC_DeregisterService_chdl(void *varg); 
00114 
00115 EXPORTCH int
00116 MC_DestroyServiceSearchResult_chdl(void* varg);
00117 
00118 EXPORTCH int
00119 MC_End_chdl(void *varg);
00120 
00121 EXPORTCH MCAgent_t
00122 MC_FindAgentByID_chdl(void *varg);
00123 
00124 EXPORTCH MCAgent_t
00125 MC_FindAgentByName_chdl(void *varg);
00126 
00127 #if 0 
00128 /* FIXME */
00129 #ifndef _WIN32
00130 EXPORTCH time_t
00131 #else
00132 EXPORTCH SYSTEMTIME
00133 #endif
00134 MC_GetAgentArrivalTime_chdl(void *varg);
00135 #endif
00136 
00137 EXPORTCH int
00138 MC_GetAgentID_chdl(void *varg);
00139 
00140 EXPORTCH char*
00141 MC_GetAgentName_chdl(void *varg);
00142 
00143 EXPORTCH int
00144 MC_GetAgentNumTasks_chdl(void *varg);
00145 
00146 EXPORTCH char *
00147 MC_GetAgentXMLString_chdl(void *varg);
00148 
00149 #ifndef _WIN32
00150 EXPORTCH int
00151 MC_GetTimeOfDay_chdl(void *varg);
00152 #endif
00153 
00154 EXPORTCH int
00155 MC_HaltAgency_chdl(void *varg);
00156 
00157 EXPORTCH int
00158 MC_PrintAgentCode_chdl(void *varg);
00159 
00160 EXPORTCH int
00161 MC_MutexLock_chdl(void *varg);
00162 
00163 EXPORTCH int
00164 MC_MutexUnlock_chdl(void *varg);
00165 
00166 EXPORTCH int
00167 MC_RegisterService_chdl(void *varg);
00168 
00169 EXPORTCH int
00170 MC_ResumeAgency_chdl(void *varg);
00171 
00172 EXPORTCH MCAgent_t
00173 MC_RetrieveAgent_chdl(void *varg);
00174 
00175 EXPORTCH char *
00176 MC_RetrieveAgentCode_chdl(void *varg);
00177 
00178 EXPORTCH char *
00179 MC_SearchForService_chdl(void *varg);
00180 
00181 EXPORTCH int
00182 MC_SemaphorePost_chdl(void *varg);
00183 
00184 EXPORTCH int
00185 MC_SemaphoreWait_chdl(void *varg);
00186 
00187 EXPORTCH int
00188 MC_SendSteerCommand_chdl(void *varg);
00189 
00190 EXPORTCH int
00191 MC_TerminateAgent_chdl(void *varg);
00192 
00193 EXPORTCH int
00194 MC_GetAgentStatus_chdl(void *varg);
00195 
00196 EXPORTCH int
00197 MC_SendAgentMigrationMessage_chdl(void *varg);
00198 
00199 EXPORTCH int
00200 MC_SendAgentMigrationMessageFile_chdl(void *varg);
00201 
00202 EXPORTCH int
00203 MC_SetAgentStatus_chdl(void *varg);
00204 
00205 EXPORTCH int
00206 MC_SetDefaultAgentStatus_chdl(void *varg);
00207 
00208 EXPORTCH int
00209 MC_SyncDelete_chdl(void *varg);
00210 
00211 EXPORTCH int
00212 MC_SyncInit_chdl(void *varg);
00213 
00214 #endif
00215 

Generated on Mon Jun 23 16:01:09 2008 for Mobile-C by  doxygen 1.5.4