#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,...) |
Copyright (C) 2008 Gary Birkett
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
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".
self | The parent vcell | |
name | The name of the prop | |
value | The value to set the child's .tag to |