Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
filedescriptorregistry.h
Go to the documentation of this file.
1 /*
2  FILEDESCRIPTORREGISTRY.h - registry for tracking all files in use
3 
4  Copyright (C) Lumiera.org
5  2008, 2010, Christian Thaeter <ct@pipapo.org>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
23 
30 #ifndef BACKEND_FILEDESCRIPTORREGISTRY_H
31 #define BACKEND_FILEDESCRIPTORREGISTRY_H
32 
33 #include "backend/filedescriptor.h"
34 
35 
42 void
44 
49 void
51 
59 
60 
62 void
64 
65 
66 
67 #endif /*BACKEND_FILEDESCRIPTORREGISTRY_H*/
void lumiera_filedescriptorregistry_remove(LumieraFiledescriptor self)
Removes a file descriptor from the registry.
File descriptors are the underlying working horse in accessing files.
LumieraFiledescriptor lumiera_filedescriptorregistry_ensure(LumieraFiledescriptor template)
Ensures that a filedescriptor is in the registry.
lumiera_filedescriptor * LumieraFiledescriptor
void lumiera_filedescriptorregistry_init(void)
Initialise the global file descriptor registry.
void lumiera_filedescriptorregistry_destroy(void)
Destroy and free the global file descriptor registry.