Sha256: 2ecd9a7a798944673bcdeeff150e4626cf4a66ade762c5129c58c3e35a529bb1

Contents?: true

Size: 1.49 KB

Versions: 10

Compression:

Stored size: 1.49 KB

Contents

/*------------------------------------------------------------------------------
 * Connection.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_CONNECTION_H
#define FIRERUBY_CONNECTION_H

/* Includes. */
   #ifndef FIRERUBY_FIRE_RUBY_H
      #include "FireRuby.h"
   #endif

   #ifndef FIRERUBY_FIRE_RUBY_EXCEPTION_H
      #include "FireRubyException.h"
   #endif

/* Structure definitions. */
typedef struct {
  isc_db_handle handle;
} ConnectionHandle;

/* Function prototypes. */
void Init_Connection(VALUE);
VALUE rb_connection_new(VALUE, VALUE, VALUE, VALUE);
void rb_tx_started(VALUE, VALUE);
void rb_tx_released(VALUE, VALUE);
void connectionFree(void *);

#endif /* FIRERUBY_CONNECTION_H */

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubyfb-0.6.7 ext/Connection.h
rubyfb-0.6.4 ext/Connection.h
rubyfb-0.6.3 ext/Connection.h
rubyfb-0.6.2 ext/Connection.h
rubyfb-0.6.1 ext/Connection.h
rubyfb-0.6 ext/Connection.h
rubyfb-0.5.9 ext/Connection.h
rubyfb-0.5.8 ext/Connection.h
rubyfb-0.5.7 ext/Connection.h
rubyfb-0.5.6 ext/Connection.h