taskrambler
0.1.9
Web server and task management solution.
Main Page
Related Pages
Data Structures
Files
File List
Globals
indexable.h
Go to the documentation of this file.
1
/**
2
* \file
3
* This interface provides only one function at all.
4
* indexUuid will generate a uuid to the current object.
5
*
6
* \todo
7
* Maybe merge hashable and indexable. Thus we might get an
8
* easy way to exchange the hashing mechanism used for my
9
* associative arrays.
10
*
11
* \author Georg Hopp
12
*
13
* \copyright
14
* Copyright © 2012 Georg Hopp
15
*
16
* This program is free software: you can redistribute it and/or modify
17
* it under the terms of the GNU General Public License as published by
18
* the Free Software Foundation, either version 3 of the License, or
19
* (at your option) any later version.
20
*
21
* This program is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
* GNU General Public License for more details.
25
*
26
* You should have received a copy of the GNU General Public License
27
* along with this program. If not, see <http://www.gnu.org/licenses/>.
28
*/
29
30
#ifndef __INDEXABLE_H__
31
#define __INDEXABLE_H__
32
33
#include "
uuid.h
"
34
35
36
typedef
Uuid (*
fptr_indexUuid
)(
void
*, Uuid);
37
38
extern
const
struct
interface
i_Indexable
;
39
40
struct
i_Indexable
{
41
const
struct
interface
*
const
_
;
42
fptr_indexUuid
uuid
;
43
};
44
45
extern
Uuid
indexUuid
(
void
*, Uuid);
46
47
#endif // __INDEXABLE_H__
48
49
// vim: set ts=4 sw=4:
interface
Definition:
interface.h:42
fptr_indexUuid
Uuid(* fptr_indexUuid)(void *, Uuid)
Definition:
indexable.h:36
uuid.h
i_Indexable::uuid
fptr_indexUuid uuid
Definition:
indexable.h:42
i_Indexable::_
const struct interface *const _
Definition:
indexable.h:41
i_Indexable
Definition:
indexable.h:40
indexUuid
Uuid indexUuid(void *, Uuid)
Definition:
indexable.c:33
include
interface
indexable.h
Generated on Wed Apr 13 2016 23:19:31 for taskrambler by
1.8.10