403Webshell
Server IP : 118.27.122.120  /  Your IP : 216.73.217.32
Web Server : Apache
System : Linux web0216.sh.tyo1 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64
User : r4834334 ( 11094)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/include/perlqt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/include/perlqt/handlers.h
#ifndef HANDLERS_H
#define HANDLERS_H


class QString;
class QByteArray;

extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
}

#include "marshall.h"
#include "smokehelp.h"
#include "smokeperl.h"

struct TypeHandler {
    const char* name;
    Marshall::HandlerFn fn;
};

// SV destruction methods
int smokeperl_free(pTHX_ SV* sv, MAGIC* mg);
void invoke_dtor(smokeperl_object* o);

// The magic virtual table that tells sv's to call smokeperl_free when they're
// destroyed
extern struct mgvtbl vtbl_smoke;

template <class T> void marshall_it(Marshall* m);

Q_DECL_EXPORT void *construct_copy(smokeperl_object *o);
void marshall_basetype(Marshall* m);
void marshall_QString(Marshall* m);
void marshall_QStringList(Marshall* m);
void marshall_unknown(Marshall *m);
void marshall_void(Marshall* m);

QString* qstringFromPerlString( SV* perlstring );
QByteArray* qbytearrayFromPerlString( SV* perlstring );
SV* perlstringFromQString( QString * s );
SV* perlstringFromQByteArray( QByteArray * s );

extern HV* type_handlers;
extern TypeHandler Qt4_handlers[];
Q_DECL_EXPORT void install_handlers(TypeHandler* h);

Marshall::HandlerFn getMarshallFn(const SmokeType& type);

#define UNTESTED_HANDLER(name) fprintf( stderr, "The handler %s has no test case.\n", name );

#endif // HANDLERS_H

Youez - 2016 - github.com/yon3zu
LinuXploit