ARSperl
view release on metacpan or search on metacpan
supportrev.c view on Meta::CPAN
/*
$Header: /cvsroot/arsperl/ARSperl/supportrev.c,v 1.34 2009/04/02 18:57:03 tstapff Exp $
ARSperl - An ARS v2 - v5 / Perl5 Integration Kit
Copyright (C) 1995-2003
Joel Murphy, jmurphy@acsu.buffalo.edu
Jeff Murphy, jcmurphy@acsu.buffalo.edu
This program is free software; you can redistribute it and/or modify
it under the terms as Perl itself.
Refer to the file called "Artistic" that accompanies the source distribution
of ARSperl (or the one that accompanies the source distribution of Perl
itself) for a full description.
Comments to: arsperl@arsperl.org
(this is a *mailing list* and you must be
a subscriber before posting)
Home Page: http://www.arsperl.org
*/
/* NAME
* supportrev.c
*
* DESCRIPTION
* this file contains routines that are useful for translating
* (ars)perl "data structures" (if you will) back into ARS C data structures.
* since we'll be working on converting user-supplied data (versus server
* supplied data) about half of all the code in this file is error checking
* code.
*/
#define __supportrev_c_
#include "support.h"
#include "supportrev.h"
#include "supportrev_generated.h"
#if defined(ARSPERL_UNDEF_MALLOC) && defined(malloc)
#undef malloc
#undef calloc
#undef realloc
#undef free
#endif
/*
* forward declarations
*/
static int
rev_ARActiveLinkActionList_helper(ARControlStruct * ctrl, HV * h,
ARActiveLinkActionList * al,
int idx);
static int
rev_ARDisplayStruct_helper(ARControlStruct * ctrl,
HV * h, char *k, ARDisplayStruct * d);
static int
rev_ARValueStructStr2Type(ARControlStruct * ctrl,
char *type, unsigned int *n);
static int
rev_ARValueStructKW2KN(ARControlStruct * ctrl,
char *keyword, unsigned int *n);
static int
rev_ARValueStructDiary(ARControlStruct * ctrl,
HV * h, char *k, char **d);
static int
rev_ARAssignFieldStruct_helper(ARControlStruct * ctrl,
HV * h, ARAssignFieldStruct * m);
static int
rev_ARAssignFieldStructStr2NMO(ARControlStruct * ctrl,
char *s, unsigned int *nmo);
static int
rev_ARAssignFieldStructStr2MMO(ARControlStruct * ctrl,
( run in 1.068 second using v1.01-cache-2.11-cpan-ceb78f64989 )