Skip to main content

Application Development Kit (Version 4.7)


jsproc.h File Reference

Last updated: 17-Sep-2025
#include <string>

#include <vector>

#include <map>
Include dependency graph for jsproc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

  vfihtml
  js

Macros

#define  DllSpec

Enumerations

enum   JSTraceType { JST_HTTPGET,
JST_HTTPPOST,
JST_HTTPRESULT
}
enum   JSLogLevel {

  JSL_EMERGENCY =0,
JSL_ALERT =1,
JSL_CRITICAL =2,
JSL_ERROR =3,


  JSL_WARNING =4,
JSL_NOTICE =5,
JSL_INFO =6,
JSL_DEBUG =7


}

Functions

DllSpec bool  jsProcessor (void *data, const std::string &sourcecode, std::map< std::string, std::string > &arg, std::string &out, std::string &err, std::string &exitcode)
DllSpec bool  jsProcessorExt (void *data, const std::string &sourcecode, std::map< std::string, std::string > &arg, std::string &out, std::string &err, std::string &exitcode, vfihtml::ExtContext *context)
const DllSpec char *  jsProcVersion ()
DllSpec void  jsSetHttpProxy (const char *proxy)
const DllSpec char *  jsGetHttpProxy ()
DllSpec void  jsSetConsole (void(*cb)(void *data, const char *text), void *data)
DllSpec void  jsGetConsole (void(*&cb)(void *, const char *), void *&data)
DllSpec void  jsSetNotify (int(*cb)(void *data, const char *to, const char *notification_id, const char *json_param, unsigned flags, const char *from), void *data)
DllSpec void  jsGetNotify (int(*&cb)(void *data, const char *to, const char *notification_id, const char *json_param, unsigned flags, const char *from), void *&data)
DllSpec void  jsSetNotifyAndWait (int(*cb)(void *data, const char *to, const char *notification_id, const char *json_param, unsigned flags, const char *from, const char *wait_id, std::string &result, int timeout_msec), void *data)
DllSpec void  jsGetNotifyAndWait (int(*&cb)(void *data, const char *to, const char *notification_id, const char *json_param, unsigned flags, const char *from, const char *wait_id, std::string &result, int timeout_msec), void *&data)
DllSpec void  jsSetTrace (void(*cb)(void *data, JSTraceType type, const std::string &app_id, std::map< std::string, std::string > &trace), void *data)
DllSpec void  jsGetTrace (void(*&cb)(void *data, JSTraceType type, const std::string &app_id, std::map< std::string, std::string > &trace), void *&data)
DllSpec void  jsSetLog (void(*cb)(void *data, const std::string &app_id, JSLogLevel log_level, const std::vector< std::string > &msg), void *data)
DllSpec void  jsGetLog (void(*&cb)(void *data, const std::string &app_id, JSLogLevel log_level, const std::vector< std::string > &msg), void *&data)


Detailed Description

script processor

Macro Definition Documentation

◆ DllSpec

#define DllSpec

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo