taskrambler
0.1.9
Web server and task management solution.
|
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include "class.h"
#include "utils/memory.h"
#include "cbuf.h"
Go to the source code of this file.
Macros | |
#define | _POSIX_SOURCE |
#define | _POSIX_C_SOURCE 200112L |
#define | _GNU_SOURCE |
Functions | |
static void | cbufDtor (void *) |
static int | cbufCtor (void *_this, va_list *params) |
INIT_IFACE (Class, cbufCtor, cbufDtor, NULL) | |
CREATE_CLASS (Cbuf, NULL, IFACE(Class)) | |
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 cbuf.c.
|
static |
align size at page boundary. increase as neccessary
Definition at line 46 of file cbuf.c.
References element::data, memMalloc(), and size.
|
static |
CREATE_CLASS | ( | Cbuf | , |
NULL | , | ||
IFACE(Class) | |||
) |