2023-01-19 16:52:45 +01:00
|
|
|
/*
|
|
|
|
* License Boiler plate here
|
|
|
|
*/
|
|
|
|
#ifndef MY_FIRST_UDR_KIT_H
|
|
|
|
#define MY_FIRST_UDR_KIT_H
|
|
|
|
|
|
|
|
#define FB_UDR_STATUS_TYPE ::Firebird::ThrowStatusWrapper
|
|
|
|
|
|
|
|
#include "ibase.h"
|
|
|
|
#include "firebird/UdrCppEngine.h"
|
2023-01-25 14:53:02 +01:00
|
|
|
#include "UdrCppTemplates.h"
|
2023-01-20 19:36:51 +01:00
|
|
|
#include <cassert>
|
|
|
|
#include <cstdio>
|
2023-01-19 16:52:45 +01:00
|
|
|
|
|
|
|
|
2023-01-26 16:14:11 +01:00
|
|
|
static const size_t MaxSegmentSize = 65535;
|
2023-01-19 16:52:45 +01:00
|
|
|
|
|
|
|
|
2023-01-20 12:59:53 +01:00
|
|
|
// This should be used in only one of the UDR library files.
|
|
|
|
// Build must export firebird_udr_plugin function.
|
2023-01-25 14:53:02 +01:00
|
|
|
|
2023-01-20 12:59:53 +01:00
|
|
|
FB_UDR_IMPLEMENT_ENTRY_POINT
|
|
|
|
|
|
|
|
|
2023-01-25 14:53:02 +01:00
|
|
|
#endif
|