Server 0.0.1
HTTP/REST server implementation

src/cbuf/cbuf.c File Reference

#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"
Include dependency graph for cbuf.c:

Go to the source code of this file.

Defines

#define _POSIX_SOURCE
#define _POSIX_C_SOURCE   200112L
#define _GNU_SOURCE

Functions

 INIT_IFACE (Class, cbufCtor, cbufDtor, NULL)
 CREATE_CLASS (Cbuf, NULL, IFACE(Class))

Detailed Description

Author:
Georg Hopp

Copyright © 2012 Georg Hopp

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.


Define Documentation

#define _GNU_SOURCE

Definition at line 25 of file cbuf.c.

#define _POSIX_C_SOURCE   200112L

Definition at line 24 of file cbuf.c.

#define _POSIX_SOURCE

Definition at line 23 of file cbuf.c.


Function Documentation

CREATE_CLASS ( Cbuf  ,
NULL  ,
IFACE(Class)   
)
INIT_IFACE ( Class  ,
cbufCtor  ,
cbufDtor  ,
NULL   
)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines