Khorsun Vlad wrote:
>
>
> Где объявление blobcallback ? Где SQL декларация ?
>
>
Прошу прощения:
typedef struct blobcallback {
short (*blob_get_segment)
(void* hnd, ISC_UCHAR* buffer, ISC_USHORT buf_size, ISC_USHORT*
result_len);
void* blob_handle;
ISC_LONG blob_number_segments;
ISC_LONG blob_max_segment;
ISC_LONG blob_total_length;
void (*blob_put_segment)
(void* hnd, const ISC_UCHAR* buffer, ISC_USHORT buf_size);
ISC_LONG (*blob_lseek)
(void* hnd, ISC_USHORT mode, ISC_LONG offset);
} *BLOBCALLBACK;
#endif /* !defined(JRD_VAL_H) */
Это из файла ibase.h
--FBUDF_API void blob2string(const blobcallback* inpblob, paramdsc* rc)
declare external function blob2string
blob,
varchar(32760) by descriptor
returns parameter 2
entry_point 'blob2string' module_name 'az_blob';
--
View this message in context:
http://firebird.1100200.n4.nabble.com/Blob-UDF-Firebird-2-5-tp2998810p2999722.html
Sent from the firebird-russian mailing list archive at Nabble.com.