Xenomai API  2.6.5
vfile.h File Reference

This file is part of the Xenomai project. More...

Include dependency graph for vfile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xnvfile_lock_ops
 Vfile locking operations. More...
 
struct  xnvfile_regular_ops
 Regular vfile operation descriptor. More...
 
struct  xnvfile_regular_iterator
 Regular vfile iterator. More...
 
struct  xnvfile_snapshot_ops
 Snapshot vfile operation descriptor. More...
 
struct  xnvfile_rev_tag
 Snapshot revision tag. More...
 
struct  xnvfile_snapshot
 Snapshot vfile descriptor. More...
 
struct  xnvfile_snapshot_iterator
 Snapshot-driven vfile iterator. More...
 

Functions

int xnvfile_init_snapshot (const char *name, struct xnvfile_snapshot *vfile, struct xnvfile_directory *parent)
 Initialize a snapshot-driven vfile. More...
 
int xnvfile_init_regular (const char *name, struct xnvfile_regular *vfile, struct xnvfile_directory *parent)
 Initialize a regular vfile. More...
 
int xnvfile_init_dir (const char *name, struct xnvfile_directory *vdir, struct xnvfile_directory *parent)
 Initialize a virtual directory entry. More...
 
int xnvfile_init_link (const char *from, const char *to, struct xnvfile_link *vlink, struct xnvfile_directory *parent)
 Initialize a virtual link entry. More...
 
void xnvfile_destroy (struct xnvfile *vfile)
 Removes a virtual file entry. More...
 
ssize_t xnvfile_get_blob (struct xnvfile_input *input, void *data, size_t size)
 Read in a data bulk written to the vfile. More...
 
ssize_t xnvfile_get_string (struct xnvfile_input *input, char *s, size_t maxlen)
 Read in a C-string written to the vfile. More...
 
ssize_t xnvfile_get_integer (struct xnvfile_input *input, long *valp)
 Evaluate the string written to the vfile as a long integer. More...
 

Variables

struct xnvfile_directory nkvfroot
 Xenomai vfile root directory. More...
 

Detailed Description

This file is part of the Xenomai project.

Note
Copyright (C) 2010 Philippe Gerum rpm@x.nosp@m.enom.nosp@m.ai.or.nosp@m.g

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 2 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, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.