b8414437ff49ccf710a935ac3d732a9286ed2735
[clsql.git] / db-mysql / mysql-package.lisp
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$
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 (in-package #:cl-user)
20
21 (defpackage #:mysql
22     (:use #:cl #:clsql-uffi)
23     (:export 
24      #:database-library-loaded
25      
26      #:mysql-socket
27      #:mysql-book
28      #:mysql-byte
29      #:mysql-net-type
30      #:mysql-net-type#tcp-ip
31      #:mysql-net-type#socket
32      #:mysql-net-type#named-pipe
33      #:mysql-net
34      #:mysql-used-mem
35      #:mysql-mem-root
36      #:mysql-field-types
37      #:mysql-field-types#decimal
38      #:mysql-field-types#tiny
39      #:mysql-field-types#short
40      #:mysql-field-types#long
41      #:mysql-field-types#float
42      #:mysql-field-types#double
43      #:mysql-field-types#null
44      #:mysql-field-types#timestamp
45      #:mysql-field-types#longlong
46      #:mysql-field-types#int24
47      #:mysql-field-types#date
48      #:mysql-field-types#time
49      #:mysql-field-types#datetime
50      #:mysql-field-types#year
51      #:mysql-field-types#newdate
52      #:mysql-field-types#enum
53      #:mysql-field-types#tiny-blob
54      #:mysql-field-types#medium-blob
55      #:mysql-field-types#long-blob
56      #:mysql-field-types#blob
57      #:mysql-field-types#var-string
58      #:mysql-field-types#string
59      #:mysql-field
60      #:mysql-row
61      #:mysql-field-offset
62      #:mysql-row-offset
63      #:mysql-field-vector
64      #:mysql-data
65      #:mysql-options
66      #:mysql-mysql-option
67      #:mysql-mysql-option#connect-timeout
68      #:mysql-mysql-option#compress
69      #:mysql-mysql-option#named-pipe
70      #:mysql-mysql-option#init-command
71      #:mysql-mysql-option#read-default-file
72      #:mysql-mysql-option#read-default-group
73      #:mysql-status
74      #:mysql-status#ready
75      #:mysql-status#get-ready
76      #:mysql-status#use-result
77      #:mysql-mysql
78      #:mysql-mysql-res
79
80      ;; functions
81      #:mysql-init
82      #:mysql-connect
83      #:mysql-real-connect
84      #:mysql-close
85      #:mysql-select-db
86      #:mysql-query
87      #:mysql-real-query
88      #:mysql-create-db
89      #:mysql-drop-db
90      #:mysql-shutdown
91      #:mysql-dump-debug-info
92      #:mysql-refresh
93      #:mysql-kill
94      #:mysql-ping
95      #:mysql-stat
96      #:mysql-get-server-info
97      #:mysql-get-client-info
98      #:mysql-get-host-info
99      #:mysql-get-proto-info
100      #:mysql-list-dbs
101      #:mysql-list-tables
102      #:mysql-list-fields
103      #:mysql-list-processes
104      #:mysql-store-result
105      #:mysql-use-result
106      #:mysql-options
107      #:mysql-free-result
108      #:mysql-row-seek
109      #:mysql-field-seek
110      #:mysql-fetch-row
111      #:mysql-fetch-lengths
112      #:mysql-fetch-field
113      #:mysql-fetch-fields
114      #:mysql-fetch-field-direct
115      #:mysql-escape-string
116      #:mysql-debug
117      #:mysql-num-rows
118      #:mysql-num-fields
119      #:mysql-affected-rows
120      #:mysql-insert-id
121      #:mysql-eof
122      #:mysql-error
123      #:mysql-error-string
124      #:mysql-errno
125      #:mysql-info
126      #:mysql-info-string
127      #:mysql-data-seek
128      
129      #:make-64-bit-integer
130      )
131     (:documentation "This is the low-level interface MySQL."))