{"title":"init_library_request with proxy","category":"default","creationDate":1776961627,"content":"<p>Contains the following data elements:<\/p>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 24%\"><col style=\"width: 8%\"><col style=\"width: 66%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>flags<\/code><\/p>\n<\/td><td>\n<p>Unsigned Integer<\/p>\n<\/td><td>\n<p>A set of\u00a0library flags.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>library_log<\/code><\/p>\n<\/td><td>\n<p>void function<\/p>\n<\/td><td>\n<p>The C library uses this function to write log lines.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>backend_use_proxy<\/code>\u00a0<div class=\"sc-notice note\"><div>The <code>backend_use_proxy<\/code> parameter is used to pass the proxy for communication to the Adyen payments platform.<\/div><\/div><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p>Used to pass the proxy for communication to the Adyen payments platform.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>environment<\/code><\/p>\n<\/td><td>\n<p>ADYEnvironment<\/p>\n<\/td><td>\n<p>Defines the environment, where the system executes transactions, using ENVIRONMENT_TYPE values: ENVIRONMENT_LIVE or ENVIRONMENT_TEST.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>pos_name<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p>The symbolic POS name.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>app_name<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p>The Integrator\/Merchant App name.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>app_id<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p>The Integrator\/Merchant App ID.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>integrator_name<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p>The integrator name\u00a0<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<p>The following data elements are used in cases where the library throws an exception which is not related\u00a0to a PED, otherwise the data elements in <a href=\"\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/ped_device_info\">ped_device_info<\/a> will be used<\/p>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 15%\"><col style=\"width: 11%\"><col style=\"width: 7%\"><col style=\"width: 64%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Type<\/th><th>Required<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>throw_exception<\/code><\/p>\n<\/td><td>\n<p>void function<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>\u00a0Function called when an exception is thrown.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>echo_struct<\/code><\/p>\n<\/td><td>\n<p>state pointer<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>A POS-defined struct that is echoed back in the callback. Use this to share a POS data struct between the call to the library and the callback from the library. You can add any pointer to\u00a0<code>echo_struct<\/code>, and this will be returned on its specific callback.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>logArea<\/code><\/p>\n<\/td><td>\n<p>Unsigned Integer<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Defines the parts of the logs you can see. As default set this to 0xffff.<\/p>\n<\/td><\/tr><\/tbody><\/table>","url":"https:\/\/docs.adyen.com\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/init_library_request-with-proxy","articleFields":{"id":"31500440","robots":"noindex,nofollow","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/init_library_request-with-proxy","title":"init_library_request with proxy","content":"Contains the following data elements:\nNameTypeDescription\nflags\n\nUnsigned Integer\n\nA set of\u00a0library flags.\n\nlibrary_log\n\nvoid function\n\nThe C library uses this function to write log lines.\n\nbackend_use_proxy\u00a0The backend_use_proxy parameter is used to pass the proxy for communication to the Adyen payments platform.\n\nchar\n\nUsed to pass the proxy for communication to the Adyen payments platform.\n\nenvironment\n\nADYEnvironment\n\nDefines the environment, where the system executes transactions, using ENVIRONMENT_TYPE values: ENVIRONMENT_LIVE or ENVIRONMENT_TEST.\n\npos_name\n\nchar\n\nThe symbolic POS name.\n\napp_name\n\nchar\n\nThe Integrator\/Merchant App name.\n\napp_id\n\nchar\n\nThe Integrator\/Merchant App ID.\n\nintegrator_name\n\nchar\n\nThe integrator name\u00a0\n\nThe following data elements are used in cases where the library throws an exception which is not related\u00a0to a PED, otherwise the data elements in ped_device_info will be used\nNameTypeRequiredDescription\nthrow_exception\n\nvoid function\n\n\n\n\u00a0Function called when an exception is thrown.\n\necho_struct\n\nstate pointer\n\n\n\nA POS-defined struct that is echoed back in the callback. Use this to share a POS data struct between the call to the library and the callback from the library. You can add any pointer to\u00a0echo_struct, and this will be returned on its specific callback.\n\nlogArea\n\nUnsigned Integer\n\n\n\nDefines the parts of the logs you can see. As default set this to 0xffff.\n","type":"page","locale":"en","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"In-person payments","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"C library integration","lvl5":"Structs","lvl6":"init_library_request with proxy"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration","lvl5":"https:\/\/docs.adyen.com\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs","lvl6":"\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/init_library_request-with-proxy"},"levels":7,"category":"In-person payments","category_color":"green","tags":["init_library_request","proxy"]}}
