File: db2-constants.lisp

package info (click to toggle)
cl-sql 3.1.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,820 kB
  • ctags: 2,954
  • sloc: lisp: 19,242; xml: 17,449; makefile: 346; ansic: 190; sh: 135; cpp: 9
file content (28 lines) | stat: -rw-r--r-- 944 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name:          db2-constants.lisp
;;;; Purpose:       Constants for CLSQL Db2 interface
;;;;
;;;; $Id: db2-constants.lisp 9519 2004-05-30 06:22:22Z kevin $
;;;;
;;;; This file is part of CLSQL.
;;;;
;;;; CLSQL users are granted the rights to distribute and use this software
;;;; as governed by the terms of the Lisp Lesser GNU Public License
;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************

(in-package #:clsql-db2)

(defconstant SQL_NULL_HANDLE 0)
(defconstant SQL_HANDLE_ENV 1)
(defconstant SQL_HANDLE_DBC 2)
(defconstant SQL_HANDLE_STMT 3)
(defconstant SQL_NTS -3)

(defconstant SQL_ERROR -1)
(defconstant SQL_SUCCESS 0)
(defconstant SQL_SUCCESS_WITH_INFO 1)