Commit 8c2de51c5705e73a7e96bd56f2afa9a9aaa72d8d

Authored by Georg Hopp
1 parent b305285b

Use new class interface and update copyright information

Showing 100 changed files with 169 additions and 112 deletions

Too many changes to show.

To preserve performance only 100 of 100+ files are displayed.

... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -33,6 +33,7 @@ TR_CLASS(ApplicationAdapterHttp) {
33 33 Router router;
34 34 };
35 35 TR_INSTANCE_INIT(ApplicationAdapterHttp);
  36 +TR_CLASSVARS_DECL(ApplicationAdapterHttp) {};
36 37
37 38 #endif // __APPLICATION_ADAPTER_HTTP_H__
38 39
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -68,6 +68,7 @@ TR_CLASS(Application) {
68 68 const char * loc;
69 69 };
70 70 TR_INSTANCE_INIT(Application);
  71 +TR_CLASSVARS_DECL(Application) {};
71 72
72 73 int applicationLogin(Application, Credential, Session);
73 74 void applicationLogout(Application, Session);
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -50,6 +50,7 @@ TR_CLASS(Asset) {
50 50 size_t ref_count;
51 51 };
52 52 TR_INSTANCE_INIT(Asset);
  53 +TR_CLASSVARS_DECL(Asset) {};
53 54
54 55 Asset assetPoolGet(const char *, size_t);
55 56 size_t assetPoolRelease(Asset);
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -23,7 +23,7 @@
23 23 * \author Georg Hopp
24 24 *
25 25 * \copyright
26   - * Copyright © 2012 Georg Hopp
  26 + * Copyright © 2014 Georg Hopp
27 27 *
28 28 * This program is free software: you can redistribute it and/or modify
29 29 * it under the terms of the GNU General Public License as published by
... ... @@ -59,6 +59,7 @@ TR_CLASS(Auth) {
59 59 void * auth[MAX_AUTH + 1];
60 60 };
61 61 TR_INSTANCE_INIT(Auth);
  62 +TR_CLASSVARS_DECL(Auth) {};
62 63
63 64 int authCreate(Auth, AuthModule, ...);
64 65
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -49,6 +49,7 @@ TR_CLASS(Credential) {
49 49 } cred;
50 50 };
51 51 TR_INSTANCE_INIT(Credential);
  52 +TR_CLASSVARS_DECL(Credential) {};
52 53
53 54 #endif // __AUTH_CREDENTIAL_H__
54 55
... ...
... ... @@ -9,7 +9,7 @@
9 9 * \author Georg Hopp
10 10 *
11 11 * \copyright
12   - * Copyright © 2012 Georg Hopp
  12 + * Copyright © 2014 Georg Hopp
13 13 *
14 14 * This program is free software: you can redistribute it and/or modify
15 15 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -36,6 +36,7 @@ TR_CLASS(AuthLdap) {
36 36 size_t nbase_dn;
37 37 };
38 38 TR_INSTANCE_INIT(AuthLdap);
  39 +TR_CLASSVARS_DECL(AuthLdap) {};
39 40
40 41 #endif // __AUTH_LDAP_H__
41 42
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -39,6 +39,7 @@ TR_CLASS(AuthStorage) {
39 39 Storage store;
40 40 };
41 41 TR_INSTANCE_INIT(AuthStorage);
  42 +TR_CLASSVARS_DECL(AuthStorage) {};
42 43
43 44 /**
44 45 * \todo In future this should use a more general purpose hash
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -35,6 +35,7 @@ TR_CLASS(Config) {
35 35 TR_Hash config;
36 36 };
37 37 TR_INSTANCE_INIT(Config);
  38 +TR_CLASSVARS_DECL(Config) {};
38 39
39 40 ConfigValue configGet(Config, const char *, size_t);
40 41
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -49,6 +49,7 @@ TR_CLASS(ConfigValue) {
49 49 unsigned long hash;
50 50 };
51 51 TR_INSTANCE_INIT(ConfigValue);
  52 +TR_CLASSVARS_DECL(ConfigValue) {};
52 53
53 54 #endif // __CONFIG_VALUE_H__
54 55
... ...
  1 +/**
  2 + * \file
  3 + *
  4 + * \author Georg Hopp
  5 + *
  6 + * \copyright
  7 + * Copyright © 2014 Georg Hopp
  8 + *
  9 + * This program is free software: you can redistribute it and/or modify
  10 + * it under the terms of the GNU General Public License as published by
  11 + * the Free Software Foundation, either version 3 of the License, or
  12 + * (at your option) any later version.
  13 + *
  14 + * This program is distributed in the hope that it will be useful,
  15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17 + * GNU General Public License for more details.
  18 + *
  19 + * You should have received a copy of the GNU General Public License
  20 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
  21 + */
1 22 #ifndef __HTTP_H__
2 23 #define __HTTP_H__
3 24
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -43,6 +43,7 @@ TR_CLASS(HttpCookie) {
43 43 size_t nvalue;
44 44 };
45 45 TR_INSTANCE_INIT(HttpCookie);
  46 +TR_CLASSVARS_DECL(HttpCookie) {};
46 47
47 48 char * httpCookieToString(HttpCookie);
48 49 HttpCookie httpStringToCookie(const char *);
... ...
... ... @@ -6,7 +6,7 @@
6 6 * \author Georg Hopp
7 7 *
8 8 * \copyright
9   - * Copyright © 2012 Georg Hopp
  9 + * Copyright © 2014 Georg Hopp
10 10 *
11 11 * This program is free software: you can redistribute it and/or modify
12 12 * it under the terms of the GNU General Public License as published by
... ... @@ -41,6 +41,7 @@ TR_CLASS(HttpHeader) {
41 41 size_t size; //!< full size of this header
42 42 };
43 43 TR_INSTANCE_INIT(HttpHeader);
  44 +TR_CLASSVARS_DECL(HttpHeader) {};
44 45
45 46 size_t httpHeaderToString(HttpHeader, char *);
46 47
... ...
... ... @@ -7,7 +7,7 @@
7 7 * \author Georg Hopp
8 8 *
9 9 * \copyright
10   - * Copyright © 2012 Georg Hopp
  10 + * Copyright © 2014 Georg Hopp
11 11 *
12 12 * This program is free software: you can redistribute it and/or modify
13 13 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -40,6 +40,7 @@ TR_CLASS(HttpMessage) {
40 40 int dbody;
41 41 };
42 42 TR_INSTANCE_INIT(HttpMessage);
  43 +TR_CLASSVARS_DECL(HttpMessage) {};
43 44
44 45 char httpMessageHasKeepAlive(HttpMessage);
45 46 size_t httpMessageHeaderSizeGet(HttpMessage);
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -55,6 +55,7 @@ TR_CLASS(HttpParser) {
55 55 HttpMessageState state;
56 56 };
57 57 TR_INSTANCE_INIT(HttpParser);
  58 +TR_CLASSVARS_DECL(HttpParser) {};
58 59
59 60 ssize_t httpParserParse(void *, TR_Stream);
60 61 void httpParserRequestVars(HttpParser);
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -57,6 +57,7 @@ TR_CLASS(HttpRequest) {
57 57 TR_Hash cookies;
58 58 };
59 59 TR_INSTANCE_INIT(HttpRequest);
  60 +TR_CLASSVARS_DECL(HttpRequest) {};
60 61
61 62 HttpMethod httpRequestGetMethodId(HttpRequest);
62 63
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -41,6 +41,7 @@ TR_CLASS(HttpResponse) {
41 41 char * reason;
42 42 };
43 43 TR_INSTANCE_INIT(HttpResponse);
  44 +TR_CLASSVARS_DECL(HttpResponse) {};
44 45
45 46 HttpResponse httpResponse304(
46 47 const char *, size_t,
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -56,6 +56,7 @@ TR_CLASS(HttpWorker) {
56 56 HttpWriter writer;
57 57 };
58 58 TR_INSTANCE_INIT(HttpWorker);
  59 +TR_CLASSVARS_DECL(HttpWorker) {};
59 60
60 61 #endif // __HTTP_WORKER_H__
61 62
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -90,6 +90,7 @@ TR_CLASS(HttpWriter) {
90 90 HttpWriterState state;
91 91 };
92 92 TR_INSTANCE_INIT(HttpWriter);
  93 +TR_CLASSVARS_DECL(HttpWriter) {};
93 94
94 95 ssize_t httpWriterWrite(void *, TR_Stream);
95 96
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -53,6 +53,7 @@ TR_CLASS(Permission) {
53 53 ResourceAction action;
54 54 };
55 55 TR_INSTANCE_INIT(Permission);
  56 +TR_CLASSVARS_DECL(Permission);
56 57
57 58 #endif // __PERMISSION_H__
58 59
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -34,6 +34,7 @@ TR_CLASS(RbacObject) {
34 34 size_t nname;
35 35 };
36 36 TR_INSTANCE_INIT(RbacObject);
  37 +TR_CLASSVARS_DECL(RbacObject) {};
37 38
38 39 #endif // __RBAC_OBJECT_H__
39 40
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -33,6 +33,7 @@ TR_CLASS(RbacOperation) {
33 33 size_t nname;
34 34 };
35 35 TR_INSTANCE_INIT(RbacOperation);
  36 +TR_CLASSVARS_DECL(RbacOperation) {};
36 37
37 38
38 39 #endif // __RBAC_OPERATION_H__
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -42,6 +42,7 @@ TR_CLASS(RbacUser) {
42 42 size_t nname;
43 43 };
44 44 TR_INSTANCE_INIT(RbacUser);
  45 +TR_CLASSVARS_DECL(RbacUser) {};
45 46
46 47 // void userSerialize(User, void **, size_t *);
47 48 // void userDeserialize(User, void *, size_t);
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -98,6 +98,7 @@ TR_CLASS(Role) {
98 98 // end og ROLE definition.
99 99 };
100 100 TR_INSTANCE_INIT(Role);
  101 +TR_CLASSVARS_DECL(Role) {};
101 102
102 103 #endif // __ROLE_H__
103 104
... ...
... ... @@ -12,7 +12,7 @@
12 12 * \author Georg Hopp
13 13 *
14 14 * \copyright
15   - * Copyright © 2013 Georg Hopp
  15 + * Copyright © 2014 Georg Hopp
16 16 *
17 17 * This program is free software: you can redistribute it and/or modify
18 18 * it under the terms of the GNU General Public License as published by
... ... @@ -52,6 +52,7 @@ TR_CLASS(Router) {
52 52 size_t nprefix;
53 53 };
54 54 TR_INSTANCE_INIT(Router);
  55 +TR_CLASSVARS_DECL(Router) {};
55 56
56 57 HttpResponse routerRoute(Router, HttpRequest, Session);
57 58
... ...
... ... @@ -7,7 +7,7 @@
7 7 * \author Georg Hopp
8 8 *
9 9 * \copyright
10   - * Copyright © 2012 Georg Hopp
  10 + * Copyright © 2014 Georg Hopp
11 11 *
12 12 * This program is free software: you can redistribute it and/or modify
13 13 * it under the terms of the GNU General Public License as published by
... ... @@ -54,6 +54,7 @@ TR_CLASS(Server) {
54 54 struct conns * conns;
55 55 };
56 56 TR_INSTANCE_INIT(Server);
  57 +TR_CLASSVARS_DECL(Server) {};
57 58
58 59 void serverRun(Server this);
59 60
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -71,6 +71,7 @@ TR_CLASS(Session) {
71 71 User user;
72 72 };
73 73 TR_INSTANCE_INIT(Session);
  74 +TR_CLASSVARS_DECL(Session) {};
74 75
75 76 #endif // __SESSION_H__
76 77
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -42,6 +42,7 @@ TR_CLASS(Storage) {
42 42 char * db_name;
43 43 };
44 44 TR_INSTANCE_INIT(Storage);
  45 +TR_CLASSVARS_DECL(Storage) {};
45 46
46 47 StoragePutResult storagePut(Storage, char *, size_t, char *, size_t);
47 48 StoragePutResult storageUpdate(Storage, char *, size_t, char *, size_t);
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -54,6 +54,7 @@ TR_CLASS(User) {
54 54 size_t * nsurname;
55 55 };
56 56 TR_INSTANCE_INIT(User);
  57 +TR_CLASSVARS_DECL(User) {};
57 58
58 59 #endif // __USER_H__
59 60
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -61,6 +61,7 @@ TR_INIT_IFACE(TR_Observer, applicationAdapterHttpUpdate);
61 61 TR_CREATE_CLASS(
62 62 ApplicationAdapterHttp,
63 63 NULL,
  64 + NULL,
64 65 TR_IF(TR_Class),
65 66 TR_IF(TR_Observer));
66 67
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -88,6 +88,6 @@ applicationDtor(void * _this)
88 88
89 89
90 90 TR_INIT_IFACE(TR_Class, applicationCtor, applicationDtor, NULL);
91   -TR_CREATE_CLASS(Application, NULL, TR_IF(TR_Class));
  91 +TR_CREATE_CLASS(Application, NULL, NULL, TR_IF(TR_Class));
92 92
93 93 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -139,6 +139,6 @@ assetHandleDouble(void * _this, void * _doub)
139 139
140 140 TR_INIT_IFACE(TR_Class, assetCtor, assetDtor, NULL);
141 141 TR_INIT_IFACE(TR_Hashable, assetGetHash, assetHandleDouble);
142   -TR_CREATE_CLASS(Asset, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable));
  142 +TR_CREATE_CLASS(Asset, NULL, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable));
143 143
144 144 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -77,6 +77,6 @@ authAuthenticate(void * _this, Credential cred, TR_Uuid user_index)
77 77
78 78 TR_INIT_IFACE(TR_Class, authCtor, authDtor, NULL);
79 79 TR_INIT_IFACE(Auth, authAuthenticate);
80   -TR_CREATE_CLASS(Auth, NULL, TR_IF(TR_Class), TR_IF(Auth));
  80 +TR_CREATE_CLASS(Auth, NULL, NULL, TR_IF(TR_Class), TR_IF(Auth));
81 81
82 82 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2013 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -78,6 +78,6 @@ credentialDtor(void * _this)
78 78 }
79 79
80 80 TR_INIT_IFACE(TR_Class, credentialCtor, credentialDtor, NULL);
81   -TR_CREATE_CLASS(Credential, NULL, TR_IF(TR_Class));
  81 +TR_CREATE_CLASS(Credential, NULL, NULL, TR_IF(TR_Class));
82 82
83 83 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -118,6 +118,6 @@ authLdapAuthenticate(void * _this, Credential cred, TR_Uuid user_index)
118 118
119 119 TR_INIT_IFACE(TR_Class, authLdapCtor, authLdapDtor, NULL);
120 120 TR_INIT_IFACE(Auth, authLdapAuthenticate);
121   -TR_CREATE_CLASS(AuthLdap, NULL, TR_IF(TR_Class), TR_IF(Auth));
  121 +TR_CREATE_CLASS(AuthLdap, NULL, NULL, TR_IF(TR_Class), TR_IF(Auth));
122 122
123 123 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -91,6 +91,6 @@ authStorageAuthenticate(void * _this, Credential cred, TR_Uuid user_index)
91 91
92 92 TR_INIT_IFACE(TR_Class, authStorageCtor, authStorageDtor, NULL);
93 93 TR_INIT_IFACE(Auth, authStorageAuthenticate);
94   -TR_CREATE_CLASS(AuthStorage, NULL, TR_IF(TR_Class), TR_IF(Auth));
  94 +TR_CREATE_CLASS(AuthStorage, NULL, NULL, TR_IF(TR_Class), TR_IF(Auth));
95 95
96 96 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -119,6 +119,6 @@ void configDtor(void * _this)
119 119 }
120 120
121 121 TR_INIT_IFACE(TR_Class, configCtor, configDtor, NULL);
122   -TR_CREATE_CLASS(Config, NULL, TR_IF(TR_Class));
  122 +TR_CREATE_CLASS(Config, NULL, NULL, TR_IF(TR_Class));
123 123
124 124 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -96,6 +96,6 @@ configValueHandleDouble(void * _this, void * _double)
96 96
97 97 TR_INIT_IFACE(TR_Class, configValueCtor, configValueDtor, NULL);
98 98 TR_INIT_IFACE(TR_Hashable, configValueGetHash, configValueHandleDouble);
99   -TR_CREATE_CLASS(ConfigValue, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable));
  99 +TR_CREATE_CLASS(ConfigValue, NULL, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable));
100 100
101 101 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -97,6 +97,6 @@ httpCookieHandleDouble(void * _this, void * _double)
97 97
98 98 TR_INIT_IFACE(TR_Class, httpCookieCtor, httpCookieDtor, NULL);
99 99 TR_INIT_IFACE(Hashable, httpCookieGetHash, httpCookieHandleDouble);
100   -TR_CREATE_CLASS(HttpCookie, NULL, TR_IF(TR_Class), TR_IF(Hashable));
  100 +TR_CREATE_CLASS(HttpCookie, NULL, NULL, TR_IF(TR_Class), TR_IF(Hashable));
101 101
102 102 // vim: set ts=4 sw=4:
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ... @@ -100,6 +100,6 @@ httpHeaderHandleDouble(void * _this, void * _double)
100 100
101 101 TR_INIT_IFACE(TR_Class, httpHeaderCtor, httpHeaderDtor, NULL);
102 102 TR_INIT_IFACE(TR_Hashable, httpHeaderGetHash, httpHeaderHandleDouble);
103   -TR_CREATE_CLASS(HttpHeader, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable));
  103 +TR_CREATE_CLASS(HttpHeader, NULL, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable));
104 104
105 105 // vim: set ts=4 sw=4:
... ...
... ... @@ -5,7 +5,7 @@
5 5 * \author Georg Hopp
6 6 *
7 7 * \copyright
8   - * Copyright © 2012 Georg Hopp
  8 + * Copyright © 2014 Georg Hopp
9 9 *
10 10 * This program is free software: you can redistribute it and/or modify
11 11 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -69,6 +69,6 @@ httpMessageDtor(void * _this)
69 69 }
70 70
71 71 TR_INIT_IFACE(TR_Class, httpMessageCtor, httpMessageDtor, NULL);
72   -TR_CREATE_CLASS(HttpMessage, NULL, TR_IF(TR_Class));
  72 +TR_CREATE_CLASS(HttpMessage, NULL, NULL, TR_IF(TR_Class));
73 73
74 74 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -66,6 +66,6 @@ httpParserDtor(void * _this)
66 66
67 67 TR_INIT_IFACE(TR_Class, httpParserCtor, httpParserDtor, NULL);
68 68 TR_INIT_IFACE(TR_StreamReader, httpParserParse);
69   -TR_CREATE_CLASS(HttpParser, NULL, TR_IF(TR_Class), TR_IF(TR_StreamReader));
  69 +TR_CREATE_CLASS(HttpParser, NULL, NULL, TR_IF(TR_Class), TR_IF(TR_StreamReader));
70 70
71 71 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -130,6 +130,7 @@ TR_INIT_IFACE(TR_Class, httpRequestCtor, httpRequestDtor, NULL);
130 130 TR_INIT_IFACE(HttpIntro, sizeGet, toString);
131 131 TR_CREATE_CLASS(HttpRequest,
132 132 HttpMessage,
  133 + NULL,
133 134 TR_IF(TR_Class),
134 135 TR_IF(HttpIntro));
135 136
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -101,6 +101,7 @@ TR_INIT_IFACE(HttpIntro, sizeGet, toString);
101 101 TR_CREATE_CLASS(
102 102 HttpResponse,
103 103 HttpMessage,
  104 + NULL,
104 105 TR_IF(TR_Class),
105 106 TR_IF(HttpIntro));
106 107
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -17,7 +17,7 @@
17 17 * \author Georg Hopp
18 18 *
19 19 * \copyright
20   - * Copyright © 2012 Georg Hopp
  20 + * Copyright © 2014 Georg Hopp
21 21 *
22 22 * This program is free software: you can redistribute it and/or modify
23 23 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -166,6 +166,7 @@ TR_INIT_IFACE(
166 166 TR_CREATE_CLASS(
167 167 HttpWorker,
168 168 NULL,
  169 + NULL,
169 170 TR_IF(TR_Class),
170 171 TR_IF(TR_StreamReader),
171 172 TR_IF(TR_StreamWriter),
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ... @@ -57,6 +57,11 @@ httpWriterDtor(void * _this)
57 57
58 58 TR_INIT_IFACE(TR_Class, httpWriterCtor, httpWriterDtor, NULL);
59 59 TR_INIT_IFACE(TR_StreamWriter, httpWriterWrite);
60   -TR_CREATE_CLASS(HttpWriter, NULL, TR_IF(TR_Class), TR_IF(TR_StreamWriter));
  60 +TR_CREATE_CLASS(
  61 + HttpWriter,
  62 + NULL,
  63 + NULL,
  64 + TR_IF(TR_Class),
  65 + TR_IF(TR_StreamWriter));
61 66
62 67 // vim: set ts=4 sw=4:
... ...
... ... @@ -4,7 +4,7 @@
4 4 * \author Georg Hopp
5 5 *
6 6 * \copyright
7   - * Copyright © 2012 Georg Hopp
  7 + * Copyright © 2014 Georg Hopp
8 8 *
9 9 * This program is free software: you can redistribute it and/or modify
10 10 * it under the terms of the GNU General Public License as published by
... ...
Please register or login to post a comment