vworld/vcell_prop.c File Reference

Manage a vcell's .tag. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <dirent.h>
#include "vcell.h"

Functions

int vcell_propgeti (vcell *self, char *name, int valueifnotfound)
int vcell_propseti (vcell *self, char *name, int value)
char * vcell_propgets (vcell *self, char *name, char *valueifnotfound)
char * vcell_propsets (vcell *self, char *name, char *value)
char * vcell_propsets_vprintf (vcell *self, char *name, char *format, va_list arg)
char * vcell_propsets_printf (vcell *self, char *name, char *format,...)


Detailed Description

Manage a vcell's .tag.

Author:
Gary Birkett
Copyright (C) 2008 Gary Birkett

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

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


Function Documentation

int vcell_propseti ( vcell *  self,
char *  name,
int  value 
)

Create a child vcell for the parent (self) with .tag defined as the integer value provided. This uses vcell nameclass "prop.i".

Parameters:
self The parent vcell
name The name of the prop
value The value to set the child's .tag to
Returns:
int value


Generated on Mon Apr 13 15:09:28 2009 for libliqbase by  doxygen 1.5.1