Sha256: d2fa60e8d00fb1d6677def7a15dfd3c178c5b6c384edb13e464f4429a019dcc8

Contents?: true

Size: 1.83 KB

Versions: 7

Compression:

Stored size: 1.83 KB

Contents

/*------------------------------------------------------------------------------
 * Blob.h
 *----------------------------------------------------------------------------*/
/**
 * Copyright © Peter Wood, 2005
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at
 *
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specificlanguage governing rights and  limitations under the License.
 *
 * The Original Code is the FireRuby extension for the Ruby language.
 *
 * The Initial Developer of the Original Code is Peter Wood. All Rights
 * Reserved.
 *
 * @author  Peter Wood
 * @version 1.0
 */
#ifndef FIRERUBY_BLOB_H
#define FIRERUBY_BLOB_H

/* Includes. */
   #ifndef FIRERUBY_FIRE_RUBY_EXCEPTION_H
      #include "FireRubyException.h"
   #endif

   #ifndef IBASE_H_INCLUDED
      #include "ibase.h"
      #define IBASE_H_INCLUDED
   #endif

   #ifndef RUBY_H_INCLUDED
      #include "ruby.h"
      #define RUBY_H_INCLUDED
   #endif
  #include "Connection.h"
  #include "Transaction.h"

#include "rfbint.h"
/* Type definitions. */
typedef struct {
  ISC_BLOB_DESC description;
  ISC_LONG segments,
           size;
  isc_blob_handle handle;
  short charset;
} BlobHandle;

/* Data elements. */
extern VALUE cBlob;

/* Function prototypes. */
BlobHandle *openBlob(XSQLVAR *,
                     char *,
                     char *,
                     VALUE,
                     VALUE);
void Init_Blob(VALUE);
void blobFree(void *);
VALUE initializeBlob(VALUE, VALUE);

#endif /* FIRERUBY_BLOB_H */

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubyfb-0.6.7 ext/Blob.h
rubyfb-0.6.4 ext/Blob.h
rubyfb-0.6.3 ext/Blob.h
rubyfb-0.6.2 ext/Blob.h
rubyfb-0.6.1 ext/Blob.h
rubyfb-0.6 ext/Blob.h
rubyfb-0.5.9 ext/Blob.h