HTTP-Webdav

 view release on metacpan or  search on metacpan

typemap  view on Meta::CPAN

TYPEMAP
ne_status * ne_status__
const unsigned char T_PV
ne_content_range * ne_content_range__
const ne_server_capabilities * ne_server_capabilities__
CV * T_CVREF2
const ne_proppatch_operation * ne_proppatch_operation__
const ne_acl_entry * ne_acl_entry__
const ne_propname * ne_propname__
const ne_status * ne_status__
ne_lock_struct * ne_lock_struct__
struct ne_lock * struct_ne_lock__
const ne_content_range * ne_content_range__
nssl_certificate * nssl_certificate__
const dav_proppatch_operation * 
const dav_propname * 
off_t T_IV
const char * T_PV
const ne_lock_struct * ne_lock_struct__
const struct ne_lock * struct_ne_lock__
char ** T_mallocstr
const nssl_certificate * nssl_certificate__
enum T_ENUM
ne_content_type * ne_content_type__
xxxxx T_PTRNULL
unsigned short int T_IV
ne_server_capabilities * ne_server_capabilities__
ne_proppatch_operation * ne_proppatch_operation__
ne_acl_entry * ne_acl_entry__
ne_propname * ne_propname__
const ne_content_type * ne_content_type__
ne_session * ne_session__
const ne_session * ne_session__
struct in_addr * T_PTRNULL
const struct in_addr * T_PTRNULL
void * T_PTRNULL
const void * T_PTRNULL
sock_progress T_CVREF2
ne_207_start_response T_PTRNULL
const ne_207_start_response T_PTRNULL
struct uri * T_PTRNULL
const struct uri * T_PTRNULL
ne_lock_session * ne_lock_session__
const ne_lock_session * ne_lock_session__
ne_cookie_cache * T_PTRNULL
const ne_cookie_cache * T_PTRNULL
ne_prop_result_set * ne_prop_result_set__
const ne_prop_result_set * ne_prop_result_set__
ne_xml_validate_cb T_CVREF2
ne_lock_result T_CVREF2
struct ne_md5_ctx * struct_ne_md__ctx__
const struct ne_md5_ctx * struct_ne_md__ctx__
ne_207_parser * ne_____parser__
const ne_207_parser * ne_____parser__
ne_xml_cdata_cb T_CVREF2
ne_propset_iterator T_CVREF2
ne_207_end_response T_CVREF2
ne_accept_response T_CVREF2
ne_xml_startelm_cb T_CVREF2
struct ne_xml_elm * T_PTRNULL
const struct ne_xml_elm * T_PTRNULL
ne_buffer * ne_buffer__
const ne_buffer * ne_buffer__
ne_provide_body T_CVREF2
ne_use_proxy T_CVREF2
ne_request * ne_request__
const ne_request * ne_request__
time_t * T_PTRNULL
const time_t * T_PTRNULL
ne_request_auth T_CVREF2
nssl_context * nssl_context__
const nssl_context * nssl_context__
ne_props_create_complex T_PTRNULL
const ne_props_create_complex T_PTRNULL
ne_redirect_confirm T_CVREF2
void T_PTRNULL
const void T_PTRNULL
ne_207_start_propstat T_PTRNULL
const ne_207_start_propstat T_PTRNULL
ne_pre_send_fn T_CVREF2
ne_lock_walkfunc T_CVREF2
ne_header_handler T_CVREF2
ne_create_request_fn T_CVREF2
nsocket * nsocket__
const nsocket * nsocket__
ne_props_result T_CVREF2
nssl_key_prompt T_CVREF2
sock_block_reader T_CVREF2
ne_notify_status T_CVREF2
ne_destory_fn T_CVREF2
ne_block_reader T_CVREF2
ne_decompress * T_PTRNULL
const ne_decompress * T_PTRNULL
ne_post_send_fn T_CVREF2
ne_accessor_fn T_PTRNULL
const ne_accessor_fn T_PTRNULL
ne_xml_parser * ne_xml_parser__
const ne_xml_parser * ne_xml_parser__
ne_xml_endelm_cb T_CVREF2
ne_propfind_handler * ne_propfind_handler__
const ne_propfind_handler * ne_propfind_handler__
ne_redirect_notify T_CVREF2
ne_207_end_propstat T_CVREF2



INPUT
ne_session__

        {
        SV ** ppObj = NULL ;
        ppObj = hv_fetch (pPerl2C, (char *)(SvRV($arg)), sizeof (void *), 0) ;

        if (!ppObj || !*ppObj)
            croak (\"\$var is not of type HTTP::Webdav\") ;

typemap  view on Meta::CPAN

            int  i ;
            SV * p ;
            SV * pa ;
            $type tmp ;
            if (!SvROK ($arg) || SvTYPE(_pAV_ = (AV *)SvRV($arg)) != SVt_PVAV)
	        {
                _pAV_ = newAV () ;
                sv_2mortal ((SV *)_pAV_) ;
                SvREFCNT_inc ($arg) ;
                av_push (_pAV_, $arg) ;
                }

            pa = newSVpv (\"\", sizeof (\*$var) * (av_len (_pAV_) + 2)) ;
            sv_2mortal (pa) ;
            tmp = $var = ($type)SvPVX (pa) ;
            for (i = 0; i <= av_len (_pAV_); i++)
                {
                HV * _pHV_ ;
                SV * * ppArg ;

                ppArg = av_fetch (_pAV_, i, 1) ;
                if (!ppArg || !*ppArg)
                    croak (\"bad array\") ;
                
                if (!SvOK(*ppArg) || !SvROK (*ppArg) || SvTYPE(_pHV_ = (HV *)SvRV(*ppArg)) != SVt_PVHV)
	            croak(\"$var must be an array of hash reference\") ;

	(($type)$var)->nspace = (char *)SvPV(__fetchmember(_pHV_,\"nspace\"),PL_na)	;
	(($type)$var)->name = (char *)SvPV(__fetchmember(_pHV_,\"name\"),PL_na)	;

                $var++ ;
                }
            memset ((void *)$var, 0, sizeof (\*$var)) ;
            $var = tmp ;
            }
        else
            {
            $var = NULL ;
            }
        }

ne_lock_session__

        {
        SV ** ppObj = NULL ;
        ppObj = hv_fetch (pPerl2C, (char *)(SvRV($arg)), sizeof (void *), 0) ;

        if (!ppObj || !*ppObj)
            croak (\"\$var is not of type HTTP::Webdav::LockSession\") ;

        $var = ($type)SvIV (*ppObj) ;
        }

ne_prop_result_set__

        {
        SV ** ppObj = NULL ;
        ppObj = hv_fetch (pPerl2C, (char *)(SvRV($arg)), sizeof (void *), 0) ;

        if (!ppObj || !*ppObj)
            croak (\"\$var is not of type HTTP::Webdav::Propset\") ;

        $var = ($type)SvIV (*ppObj) ;
        }

struct_ne_lock__

        {
        HV * _pHV_ ;
        if (SvOK($arg))
            {
            SV * p ;
            if (!SvROK ($arg) || SvTYPE(_pHV_ = (HV *)SvRV($arg)) != SVt_PVHV)
	        croak(\"$var must be a hash reference\") ;

            p = newSVpv (\"\", sizeof (\*$var)) ;
            sv_2mortal (p) ;
            $var = ($type)SvPVX (p) ;
	(($type)$var)->uri = (char *)SvPV(__fetchmember(_pHV_,\"uri\"),PL_na)	;
	(($type)$var)->depth = (int)SvIV(__fetchmember(_pHV_,\"depth\"))	;
	(($type)$var)->type = (int)SvIV(__fetchmember(_pHV_,\"type\"))	;
	(($type)$var)->scope = (int)SvIV(__fetchmember(_pHV_,\"scope\"))	;
	(($type)$var)->token = (char *)SvPV(__fetchmember(_pHV_,\"token\"),PL_na)	;
	(($type)$var)->owner = (char *)SvPV(__fetchmember(_pHV_,\"owner\"),PL_na)	;
	(($type)$var)->timeout = (long)SvIV(__fetchmember(_pHV_,\"timeout\"))	;
	(($type)$var)->prev = (void *)SvIV(__fetchmember(_pHV_,\"prev\"))	;
	(($type)$var)->next = (void *)SvIV(__fetchmember(_pHV_,\"next\"))	;

            }
        else
            {
            $var = NULL ;
            }
        }

nssl_certificate__

        {
        HV * _pHV_ ;
        if (SvOK($arg))
            {
            SV * p ;
            if (!SvROK ($arg) || SvTYPE(_pHV_ = (HV *)SvRV($arg)) != SVt_PVHV)
	        croak(\"$var must be a hash reference\") ;

            p = newSVpv (\"\", sizeof (\*$var)) ;
            sv_2mortal (p) ;
            $var = ($type)SvPVX (p) ;
	(($type)$var)->owner = (char *)SvPV(__fetchmember(_pHV_,\"owner\"),PL_na)	;
	(($type)$var)->issuer = (char *)SvPV(__fetchmember(_pHV_,\"issuer\"),PL_na)	;
	(($type)$var)->valid_from = (char *)SvPV(__fetchmember(_pHV_,\"valid_from\"),PL_na)	;
	(($type)$var)->valid_till = (char *)SvPV(__fetchmember(_pHV_,\"valid_till\"),PL_na)	;
	(($type)$var)->fingerprint = (char *)SvPV(__fetchmember(_pHV_,\"fingerprint\"),PL_na)	;

            }
        else
            {
            $var = NULL ;
            }
        }

typemap  view on Meta::CPAN

	;

            }
        }

T_CVREF2
;
ne_propname__

        {
        HV * _pHV_ ;

        /* croak (\"$var unsupported\") ; */
        if (!SvOK($arg))
            {
            $arg = newRV_noinc((SV *)(_pHV_ = newHV())) ;
            sv_2mortal ($arg) ;
            }
        else if (!SvROK ($arg))
            {
            croak (\"$var must be a reference\") ;
            }
        else if (SvTYPE(_pHV_ = (HV *)SvRV($arg)) != SVt_PVHV)
	    SvUPGRADE ((SV *)_pHV_, SVt_PVHV) ;
        if ($var)
            {
	sv_setpv((SV*)__fetchmember(_pHV_,\"nspace\"), (($type)$var)->nspace);
	;
	sv_setpv((SV*)__fetchmember(_pHV_,\"name\"), (($type)$var)->name);
	;

            }
        }

ne_lock_session__

        {
        SV ** ppArg ;
        ppArg = hv_fetch (pC2Perl, (char *)(\&$var), sizeof($var), 1) ;
        if (!SvOK(*ppArg))
            {
            SV * pObj ;
            *ppArg = newRV_noinc ((SV *)newHV()) ;
            sv_2mortal(*ppArg) ;
	    sv_bless (*ppArg, gv_stashpv (\"HTTP::Webdav::LockSession\", 0)) ;
            hv_store (pPerl2C, (char *)(SvRV (*ppArg)), sizeof (void *), newSViv ((IV)$var), 0) ;
            }
        $arg = *ppArg ;
        }

ne_prop_result_set__

        {
        SV ** ppArg ;
        ppArg = hv_fetch (pC2Perl, (char *)(\&$var), sizeof($var), 1) ;
        if (!SvOK(*ppArg))
            {
            SV * pObj ;
            *ppArg = newRV_noinc ((SV *)newHV()) ;
            sv_2mortal(*ppArg) ;
	    sv_bless (*ppArg, gv_stashpv (\"HTTP::Webdav::Propset\", 0)) ;
            hv_store (pPerl2C, (char *)(SvRV (*ppArg)), sizeof (void *), newSViv ((IV)$var), 0) ;
            }
        $arg = *ppArg ;
        }

struct_ne_lock__

        {
        HV * _pHV_ ;
        if (!SvOK($arg))
            {
            $arg = newRV_noinc((SV *)(_pHV_ = newHV())) ;
            sv_2mortal ($arg) ;
            }
        else if (!SvROK ($arg))
            {
            croak (\"$var must be a reference\") ;
            }
        else if (SvTYPE(_pHV_ = (HV *)SvRV($arg)) != SVt_PVHV)
	    SvUPGRADE ((SV *)_pHV_, SVt_PVHV) ;
        if ($var)
            {
	sv_setpv((SV*)__fetchmember(_pHV_,\"uri\"), (($type)$var)->uri);
	;
	sv_setiv(__fetchmember(_pHV_,\"depth\"), (IV)(($type)$var)->depth);
	;
	sv_setiv(__fetchmember(_pHV_,\"type\"), (IV)(($type)$var)->type);
	;
	sv_setiv(__fetchmember(_pHV_,\"scope\"), (IV)(($type)$var)->scope);
	;
	sv_setpv((SV*)__fetchmember(_pHV_,\"token\"), (($type)$var)->token);
	;
	sv_setpv((SV*)__fetchmember(_pHV_,\"owner\"), (($type)$var)->owner);
	;
	sv_setiv(__fetchmember(_pHV_,\"timeout\"), (IV)(($type)$var)->timeout);
	;
	sv_setiv(__fetchmember(_pHV_,\"prev\"), (IV)(($type)$var)->prev);
	;
	sv_setiv(__fetchmember(_pHV_,\"next\"), (IV)(($type)$var)->next);
	;

            }
        }

nssl_certificate__

        {
        HV * _pHV_ ;
        if (!SvOK($arg))
            {
            $arg = newRV_noinc((SV *)(_pHV_ = newHV())) ;
            sv_2mortal ($arg) ;
            }
        else if (!SvROK ($arg))
            {
            croak (\"$var must be a reference\") ;
            }
        else if (SvTYPE(_pHV_ = (HV *)SvRV($arg)) != SVt_PVHV)
	    SvUPGRADE ((SV *)_pHV_, SVt_PVHV) ;
        if ($var)



( run in 1.366 second using v1.01-cache-2.11-cpan-71847e10f99 )