taskrambler  0.1.9
Web server and task management solution.
uuid/uuid.c File Reference
#include <stdarg.h>
#include <string.h>
#include "class.h"
#include "uuid.h"
+ Include dependency graph for uuid/uuid.c:

Go to the source code of this file.

Functions

static int uuidCtor (void *_this, va_list *params)
 
static void uuidDtor (void *_this)
 
static void uuidClone (void *_this, void *_base)
 
 INIT_IFACE (Class, uuidCtor, uuidDtor, uuidClone)
 
 CREATE_CLASS (Uuid, NULL, IFACE(Class))
 
 INSTANCE (Uuid, uuidZero)
 

Detailed Description

Author
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 uuid/uuid.c.

Function Documentation

CREATE_CLASS ( Uuid  ,
NULL  ,
IFACE(Class)   
)
INIT_IFACE ( Class  ,
uuidCtor  ,
uuidDtor  ,
uuidClone   
)
INSTANCE ( Uuid  ,
uuidZero   
)

Definition at line 56 of file uuid/uuid.c.

56  {
57  .uuid.value = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
58 }};
static void uuidClone ( void *  _this,
void *  _base 
)
static

Definition at line 45 of file uuid/uuid.c.

46 {
47  Uuid this = _this;
48  Uuid base = _base;
49 
50  memcpy((this->uuid).value, (base->uuid).value, 16);
51 }
static int uuidCtor ( void *  _this,
va_list *  params 
)
static

Definition at line 32 of file uuid/uuid.c.

33 {
34  return 0;
35 }
static void uuidDtor ( void *  _this)
static

Definition at line 39 of file uuid/uuid.c.

40 {
41 }