This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| secmalloc.o: secmalloc.c | |
| gcc -c -fPIC secmalloc.c -o secmalloc.o | |
| secmalloc.so: secmalloc.o | |
| gcc -shared -Wl,-soname,secmalloc.so -o secmalloc.so secmalloc.o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */ | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <limits.h> | |
| #include <string.h> | |
| struct entry_s { | |
| char *key; | |
| char *value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Copyright (c) 2015 Simon Schmidt | |
| This software is provided 'as-is', without any express or implied | |
| warranty. In no event will the authors be held liable for any damages | |
| arising from the use of this software. | |
| Permission is granted to anyone to use this software for any purpose, | |
| including commercial applications, and to alter it and redistribute it | |
| freely, subject to the following restrictions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2015 Simon Schmidt | |
| * | |
| * Usage of the works is permitted provided that this instrument is | |
| * retained with the works, so that any entity that uses the works | |
| * is notified of this instrument. | |
| * DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. | |
| */ | |
| #include <stdio.h> | |
| #include <stdint.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright 2015 Simon Schmidt | |
| // Copyright 2012 Junqing Tan <[email protected]> and The Go Authors | |
| // Use of this source code is governed by a BSD-style | |
| // Part of source code is from Go fcgi package | |
| // Fix bug: Can't recive more than 1 record untill FCGI_END_REQUEST 2012-09-15 | |
| // By: wofeiwo | |
| package fcgiclient |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| used template: http://www.opendesigns.org/design/html5-streets/ | |
| Other: | |
| - http://www.opendesigns.org/design/html5-water/ | |
| - http://www.opendesigns.org/design/html5-buildings/ | |
| - http://www.opendesigns.org/design/blue-skies/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * I dedicate any and all copyright interest in this software to the | |
| * public domain. I make this dedication for the benefit of the public at | |
| * large and to the detriment of my heirs and successors. I intend this | |
| * dedication to be an overt act of relinquishment in perpetuity of all | |
| * present and future rights to this software under copyright law. | |
| * | |
| * For more information, please refer to <http://unlicense.org/> | |
| */ | |
| #include <stdint.h> |
NewerOlder