summaryrefslogtreecommitdiff
path: root/db-mysql/mysql-package.lisp
blob: 74a195594c3da14858ce4107aa11ce2910c63eb4 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name:          mysql-package.cl
;;;; Purpose:       Package definition for low-level MySQL interface
;;;; Programmers:   Kevin M. Rosenberg
;;;; Date Started:  Feb 2002
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;; 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 #:cl-user)

(defpackage #:mysql
    (:use #:common-lisp #:clsql-uffi)
    (:export
     #:database-library-loaded

     #:mysql-socket
     #:mysql-book
     #:mysql-byte
     #:mysql-net-type
     #:mysql-net-type#tcp-ip
     #:mysql-net-type#socket
     #:mysql-net-type#named-pipe
     #:mysql-net
     #:mysql-used-mem
     #:mysql-mem-root
     #:mysql-field-types
     #:mysql-field-types#decimal
     #:mysql-field-types#tiny
     #:mysql-field-types#short
     #:mysql-field-types#long
     #:mysql-field-types#float
     #:mysql-field-types#double
     #:mysql-field-types#null
     #:mysql-field-types#timestamp
     #:mysql-field-types#longlong
     #:mysql-field-types#int24
     #:mysql-field-types#date
     #:mysql-field-types#time
     #:mysql-field-types#datetime
     #:mysql-field-types#year
     #:mysql-field-types#newdate
     #:mysql-field-types#enum
     #:mysql-field-types#tiny-blob
     #:mysql-field-types#medium-blob
     #:mysql-field-types#long-blob
     #:mysql-field-types#blob
     #:mysql-field-types#var-string
     #:mysql-field-types#string
     #:mysql-field
     #:mysql-row
     #:mysql-field-offset
     #:mysql-row-offset
     #:mysql-field-vector
     #:mysql-data
     #:mysql-options
     #:mysql-mysql-option
     #:mysql-mysql-option#connect-timeout
     #:mysql-mysql-option#compress
     #:mysql-mysql-option#named-pipe
     #:mysql-mysql-option#init-command
     #:mysql-mysql-option#read-default-file
     #:mysql-mysql-option#read-default-group
     #:mysql-status
     #:mysql-status#ready
     #:mysql-status#get-ready
     #:mysql-status#use-result
     #:mysql-mysql
     #:mysql-mysql-res

     ;; functions
     #:mysql-init
     #:mysql-connect
     #:mysql-real-connect
     #:mysql-close
     #:mysql-select-db
     #:mysql-query
     #:mysql-real-query
     #:mysql-create-db
     #:mysql-drop-db
     #:mysql-shutdown
     #:mysql-dump-debug-info
     #:mysql-refresh
     #:mysql-kill
     #:mysql-ping
     #:mysql-stat
     #:mysql-get-server-info
     #:mysql-get-client-info
     #:mysql-get-host-info
     #:mysql-get-proto-info
     #:mysql-list-dbs
     #:mysql-list-tables
     #:mysql-list-fields
     #:mysql-list-processes
     #:mysql-store-result
     #:mysql-use-result
     #:mysql-options
     #:mysql-free-result
     #:mysql-next-result
     #:mysql-row-seek
     #:mysql-field-seek
     #:mysql-fetch-row
     #:mysql-fetch-lengths
     #:mysql-fetch-field
     #:mysql-fetch-fields
     #:mysql-fetch-field-direct
     #:mysql-escape-string
     #:mysql-debug
     #:mysql-num-rows
     #:mysql-num-fields
     #:mysql-affected-rows
     #:mysql-insert-id
     #:mysql-eof
     #:mysql-error
     #:mysql-error-string
     #:mysql-errno
     #:mysql-info
     #:mysql-info-string
     #:mysql-data-seek

     #:mysql-time
     #:mysql-bind
     #:mysql-stmt-param-count
     #:mysql-stmt-prepare
     #:mysql-stmt-execute
     #:mysql-stmt-store-result
     #:mysql-stmt-init
     #:mysql-stmt-close-result
     #:mysql-stmt-free-result
     #:mysql-stmt
     #:mysql-stmt-result-metadata
     #:mysql-stmt-fetch
     #:mysql-stmt-bind-param
     #:mysql-stmt-bind-result
     #:mysql-stmt-close
     #:mysql-stmt-errno
     #:mysql-stmt-error

     #:make-64-bit-integer
     #:clsql-mysql-field-name
     #:clsql-mysql-field-type
     #:clsql-mysql-field-flags

     #:+mysql-option-parameter-map+
     )
    (:documentation "This is the low-level interface MySQL."))