taskrambler  0.1.9
Web server and task management solution.
indexable.h File Reference
#include "uuid.h"
+ Include dependency graph for indexable.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  i_Indexable
 

Typedefs

typedef Uuid(* fptr_indexUuid) (void *, Uuid)
 

Functions

Uuid indexUuid (void *, Uuid)
 

Variables

const struct interface i_Indexable
 

Detailed Description

This interface provides only one function at all. indexUuid will generate a uuid to the current object.

Todo:
Maybe merge hashable and indexable. Thus we might get an easy way to exchange the hashing mechanism used for my associative arrays.
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 indexable.h.


Data Structure Documentation

struct i_Indexable

Definition at line 40 of file indexable.h.

+ Collaboration diagram for i_Indexable:
Data Fields
const struct interface *const _
fptr_indexUuid uuid

Typedef Documentation

typedef Uuid(* fptr_indexUuid) (void *, Uuid)

Definition at line 36 of file indexable.h.

Function Documentation

Uuid indexUuid ( void *  ,
Uuid   
)

Definition at line 33 of file indexable.c.

References RETCALL.

Referenced by applicationCreateUser(), applicationLogin(), applicationUpdatePassword(), and applicationUpdateUser().

34 {
35  Uuid ret;
36 
37  RETCALL(indexable, Indexable, uuid, ret, namespace);
38 
39  return ret;
40 }
#define RETCALL(object, _iface, method, ret,...)
Definition: class/class.h:113

+ Here is the caller graph for this function:

Variable Documentation

const struct interface i_Indexable

Definition at line 27 of file indexable.c.