taskrambler
v0.1.8
Web server and task management solution.
|
Go to the source code of this file.
Functions | |
static void | freeAsset (const void *_node) |
Asset | assetPoolGet (const char *path, size_t npath) |
size_t | assetPoolRelease (Asset asset) |
void | assetPoolCleanup (void) |
Variables | |
Hash | asset_pool = NULL |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file pool.c.
void assetPoolCleanup | ( | void | ) |
Definition at line 88 of file pool.c.
References asset_pool, freeAsset(), and hashEach().
Referenced by main().
Asset assetPoolGet | ( | const char * | path, |
size_t | npath | ||
) |
Definition at line 43 of file pool.c.
References asset_pool, hashAdd(), and hashGet().
Referenced by httpResponseAsset().
size_t assetPoolRelease | ( | Asset | asset | ) |
Definition at line 66 of file pool.c.
References asset_pool, and hashDelete().
Referenced by httpMessageDtor().
|
inlinestatic |
Definition at line 37 of file pool.c.
Referenced by assetPoolCleanup().
Hash asset_pool = NULL |
Definition at line 32 of file pool.c.
Referenced by assetPoolCleanup(), assetPoolGet(), assetPoolRelease(), CLASS(), httpWorkerClone(), httpWorkerCtor(), and httpWorkerDtor().