ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
protocol.h
Go to the documentation of this file.
1 
12 #ifndef _CEPTR_PROTOCOL_H
13 #define _CEPTR_PROTOCOL_H
14 
15 #include "receptor.h"
16 
17 void *_o_add_label(char *label,T *def);
18 T *_o_make_protocol_def(SemTable *sem,Context c,char *label,...);
19 T *_o_bindings2sem_map(T *bindings, T *sem_map,T *defaults);
20 T *_o_unwrap(SemTable *sem,T *def,T *sem_map);
21 T *_o_resolve(SemTable *sem,T *def, T *bindings);
22 void _o_express_role(Receptor *r,Symbol protocol,Symbol role,Aspect aspect,T *action);
23 T * __o_initiate(Receptor *r,SemanticID protocol,SemanticID interaction,T *bindings,T **sem_mapP);
24 void _o_initiate(Receptor *r,SemanticID protocol,SemanticID interaction,T *bindings);
25 
26 #endif
27 
Definition: ceptr_types.h:114
T * _o_unwrap(SemTable *sem, T *def, T *sem_map)
Definition: protocol.c:262
void _o_initiate(Receptor *r, SemanticID protocol, SemanticID interaction, T *bindings)
Definition: protocol.c:506
T * _o_resolve(SemTable *sem, T *def, T *bindings)
Definition: protocol.c:372
receptor implementation header file
T * _o_make_protocol_def(SemTable *sem, Context c, char *label,...)
Definition: protocol.c:37
T * _o_bindings2sem_map(T *bindings, T *sem_map, T *defaults)
Definition: protocol.c:234
void _o_express_role(Receptor *r, Symbol protocol, Symbol role, Aspect aspect, T *action)
Definition: protocol.c:409
T * __o_initiate(Receptor *r, SemanticID protocol, SemanticID interaction, T *bindings, T **sem_mapP)
Definition: protocol.c:473