Commit b44336c0a38fa88cbbccb3c3d78ed37d20d7516f
1 parent
63768882
add copyright note to all source files
Showing
11 changed files
with
187 additions
and
0 deletions
1 | +/** | ||
2 | + * cclass.h: basic "class-like" handling of code and data structures | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #ifndef __CCLASS_H__ | 18 | #ifndef __CCLASS_H__ |
2 | #define __CCLASS_H__ | 19 | #define __CCLASS_H__ |
3 | 20 |
1 | +/** | ||
2 | + * crypt.h: pseudo OO wrapper around libmcrypt. | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #ifndef __CRYPT_H__ | 18 | #ifndef __CRYPT_H__ |
2 | #define __CRYPT_H__ | 19 | #define __CRYPT_H__ |
3 | 20 |
1 | +/** | ||
2 | + * dyntype.h: structur to hold values of different type and retrieve them again | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #ifndef __DYNTYPE_H__ | 18 | #ifndef __DYNTYPE_H__ |
2 | #define __DYNTYPE_H__ | 19 | #define __DYNTYPE_H__ |
3 | 20 |
1 | +/** | ||
2 | + * dyntype/hash.h: very simple string indexed hash mainly to hold json objects | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #ifndef __DYNTYPE_HASH_H__ | 18 | #ifndef __DYNTYPE_HASH_H__ |
2 | #define __DYNTYPE_HASH_H__ | 19 | #define __DYNTYPE_HASH_H__ |
3 | 20 |
1 | +/** | ||
2 | + * packet.h: a data packet that has a header and data of type dyntype | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #ifndef __PACKET_H__ | 18 | #ifndef __PACKET_H__ |
2 | #define __PACKET_H__ | 19 | #define __PACKET_H__ |
3 | 20 |
1 | +/** | ||
2 | + * token.h: bundles all header files | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #ifndef __TOKEN_H__ | 18 | #ifndef __TOKEN_H__ |
2 | #define __TOKEN_H__ | 19 | #define __TOKEN_H__ |
3 | 20 |
1 | +/** | ||
2 | + * cclass.c: basic "class-like" handling of code and data structures | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #include <stdarg.h> | 18 | #include <stdarg.h> |
2 | #include <string.h> | 19 | #include <string.h> |
3 | #include <stdlib.h> | 20 | #include <stdlib.h> |
1 | +/** | ||
2 | + * crypt.c: pseudo OO wrapper around libmcrypt. | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #include <stdarg.h> | 18 | #include <stdarg.h> |
2 | #include <stdlib.h> | 19 | #include <stdlib.h> |
3 | #include <fcntl.h> | 20 | #include <fcntl.h> |
1 | +/** | ||
2 | + * dyntype.c: structur to hold values of different type and retrieve them again | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #include <stdlib.h> | 18 | #include <stdlib.h> |
2 | #include <string.h> | 19 | #include <string.h> |
3 | #include <sys/types.h> | 20 | #include <sys/types.h> |
1 | +/** | ||
2 | + * dyntype/hash.c: very simple string indexed hash mainly to hold json objects | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #include <string.h> | 18 | #include <string.h> |
2 | #include <stdlib.h> | 19 | #include <stdlib.h> |
3 | #include <json/json.h> | 20 | #include <json/json.h> |
1 | +/** | ||
2 | + * packet.c: a data packet that has a header and data of type dyntype | ||
3 | + * Copyright (C) 2011 Georg Hopp | ||
4 | + * | ||
5 | + * This program is free software: you can redistribute it and/or modify | ||
6 | + * it under the terms of the GNU General Public License as published by | ||
7 | + * the Free Software Foundation, either version 3 of the License, or | ||
8 | + * (at your option) any later version. | ||
9 | + * | ||
10 | + * This program is distributed in the hope that it will be useful, | ||
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | + * GNU General Public License for more details. | ||
14 | + * | ||
15 | + * You should have received a copy of the GNU General Public License | ||
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | + */ | ||
1 | #include <json/json.h> | 18 | #include <json/json.h> |
2 | 19 | ||
3 | #include "token/packet.h" | 20 | #include "token/packet.h" |
Please
register
or
login
to post a comment