r2913: *** empty log message ***
[clsql.git] / db-mysql / mysql-package.cl
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          mysql-package.cl
6 ;;;; Purpose:       Package definition for low-level MySQL interface
7 ;;;; Programmers:   Kevin M. Rosenberg
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; $Id: mysql-package.cl,v 1.1 2002/09/18 07:43:40 kevin Exp $
11 ;;;;
12 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
13 ;;;;
14 ;;;; CLSQL users are granted the rights to distribute and use this software
15 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
16 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
17 ;;;; *************************************************************************
18
19 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
20 (in-package :cl-user)
21
22 (defpackage :mysql
23     (:use :common-lisp :clsql-uffi)
24     (:export 
25      #:database-library-loaded
26      
27      #:mysql-socket
28      #:mysql-book
29      #:mysql-byte
30      #:mysql-net-type
31      #:mysql-net-type#tcp-ip
32      #:mysql-net-type#socket
33      #:mysql-net-type#named-pipe
34      #:mysql-net
35      #:mysql-used-mem
36      #:mysql-mem-root
37      #:mysql-field-types
38      #:mysql-field-types#decimal
39      #:mysql-field-types#tiny
40      #:mysql-field-types#short
41      #:mysql-field-types#long
42      #:mysql-field-types#float
43      #:mysql-field-types#double
44      #:mysql-field-types#null
45      #:mysql-field-types#timestamp
46      #:mysql-field-types#longlong
47      #:mysql-field-types#int24
48      #:mysql-field-types#date
49      #:mysql-field-types#time
50      #:mysql-field-types#datetime
51      #:mysql-field-types#year
52      #:mysql-field-types#newdate
53      #:mysql-field-types#enum
54      #:mysql-field-types#tiny-blob
55      #:mysql-field-types#medium-blob
56      #:mysql-field-types#long-blob
57      #:mysql-field-types#blob
58      #:mysql-field-types#var-string
59      #:mysql-field-types#string
60      #:mysql-field
61      #:mysql-row
62      #:mysql-field-offset
63      #:mysql-row-offset
64      #:mysql-field-vector
65      #:mysql-data
66      #:mysql-options
67      #:mysql-mysql-option
68      #:mysql-mysql-option#connect-timeout
69      #:mysql-mysql-option#compress
70      #:mysql-mysql-option#named-pipe
71      #:mysql-mysql-option#init-command
72      #:mysql-mysql-option#read-default-file
73      #:mysql-mysql-option#read-default-group
74      #:mysql-status
75      #:mysql-status#ready
76      #:mysql-status#get-ready
77      #:mysql-status#use-result
78      #:mysql-mysql
79      #:mysql-mysql-res
80
81      ;; functions
82      #:mysql-init
83      #:mysql-connect
84      #:mysql-real-connect
85      #:mysql-close
86      #:mysql-select-db
87      #:mysql-query
88      #:mysql-real-query
89      #:mysql-create-db
90      #:mysql-drop-db
91      #:mysql-shutdown
92      #:mysql-dump-debug-info
93      #:mysql-refresh
94      #:mysql-kill
95      #:mysql-ping
96      #:mysql-stat
97      #:mysql-get-server-info
98      #:mysql-get-client-info
99      #:mysql-get-host-info
100      #:mysql-get-proto-info
101      #:mysql-list-dbs
102      #:mysql-list-tables
103      #:mysql-list-fields
104      #:mysql-list-processes
105      #:mysql-store-result
106      #:mysql-use-result
107      #:mysql-options
108      #:mysql-free-result
109      #:mysql-row-seek
110      #:mysql-field-seek
111      #:mysql-fetch-row
112      #:mysql-fetch-lengths
113      #:mysql-fetch-field
114      #:mysql-fetch-fields
115      #:mysql-fetch-field-direct
116      #:mysql-escape-string
117      #:mysql-debug
118      #:mysql-num-rows
119      #:mysql-num-fields
120      #:mysql-affected-rows
121      #:mysql-insert-id
122      #:mysql-eof
123      #:mysql-error
124      #:mysql-error-string
125      #:mysql-errno
126      #:mysql-info
127      #:mysql-info-string
128      #:mysql-data-seek
129      
130      #:make-64-bit-integer
131      )
132     (:documentation "This is the low-level interface MySQL."))