Server 0.0.1
HTTP/REST server implementation

src/interface/subject.c

Go to the documentation of this file.
00001 
00023 #include "class.h"
00024 #include "interface/subject.h"
00025 
00026 const struct interface i_Subject = {
00027         "subject",
00028         3
00029 };
00030 
00031 void
00032 subjectAttach(void * subject, void * observer)
00033 {
00034         CALL(subject, Subject, attach, observer);
00035 }
00036 
00037 void
00038 subjectDetach(void * subject, void * observer)
00039 {
00040         CALL(subject, Subject, detach, observer);
00041 }
00042 
00043 void
00044 subjectNotify(void * subject)
00045 {
00046         CALL(subject, Subject, notify);
00047 }
00048 
00049 // vim: set ts=4 sw=4:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines