OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2019 03:48:12 PM
rwxr-xr-x
📁
EGL
-
10/28/2024 06:50:22 AM
rwxr-xr-x
📁
GL
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📁
KHR
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📁
OpenEXR
-
10/28/2024 06:50:35 AM
rwxr-xr-x
📁
X11
-
10/28/2024 06:50:32 AM
rwxr-xr-x
📄
_G_config.h
932 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
aio.h
7.28 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
aliases.h
1.98 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
alloca.h
1.17 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ar.h
1.69 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
argp.h
24.82 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
argz.h
5.91 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
arpa
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
asm-generic
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
assert.h
4.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
at-spi-2.0
-
10/28/2024 06:50:16 AM
rwxr-xr-x
📁
at-spi2-atk
-
10/28/2024 06:50:16 AM
rwxr-xr-x
📁
atk-1.0
-
10/28/2024 06:50:16 AM
rwxr-xr-x
📄
autotest.h
6.05 KB
03/26/2018 02:37:19 PM
rw-r--r--
📁
btrfs
-
10/21/2019 03:49:20 PM
rwxr-xr-x
📄
byteswap.h
1.37 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
c++
-
01/31/2023 12:38:15 PM
rwxr-xr-x
📁
cairo
-
10/28/2024 06:50:19 AM
rwxr-xr-x
📄
complex.h
7 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
cpio.h
2.21 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
crypt.h
2.21 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ctype.h
10.71 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
dbus-1.0
-
10/28/2024 06:50:15 AM
rwxr-xr-x
📁
dc1394
-
10/28/2024 06:50:34 AM
rwxr-xr-x
📄
dirent.h
12.19 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
dlfcn.h
6.85 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
drm
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
elf.h
166.04 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
endian.h
3.11 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
entities.h
4.81 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
envz.h
2.8 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
epoxy
-
10/28/2024 06:50:22 AM
rwxr-xr-x
📄
err.h
2.16 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
errno.h
1.79 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
error.h
1.99 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
execinfo.h
1.49 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
expat.h
43.17 KB
11/18/2022 10:57:30 AM
rw-r--r--
📄
expat_external.h
5.4 KB
11/18/2022 10:57:30 AM
rw-r--r--
📄
fcntl.h
9.24 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
features.h
15.18 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fenv.h
5.72 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fmtmsg.h
3.16 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fnmatch.h
2.24 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
fontconfig
-
01/31/2023 12:38:18 PM
rwxr-xr-x
📁
freetype2
-
01/31/2023 12:38:18 PM
rwxr-xr-x
📄
fstab.h
3.04 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fts.h
8.18 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ftw.h
5.13 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gawkapi.h
30.31 KB
02/11/2018 05:02:41 AM
rw-r--r--
📄
gconv.h
4.31 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gd.h
56.42 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
gd_color_map.h
478 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gd_errors.h
1.47 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
gd_io.h
3.05 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdcache.h
2.83 KB
08/30/2021 07:10:11 PM
rw-r--r--
📁
gdcm-2.8
-
10/28/2024 06:50:28 AM
rwxr-xr-x
📄
gdfontg.h
553 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfontl.h
551 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfontmb.h
519 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfonts.h
515 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfontt.h
546 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfx.h
497 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📁
gdk-pixbuf-2.0
-
10/28/2024 06:50:28 AM
rwxr-xr-x
📄
gdpp.h
50.94 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
getopt.h
1.43 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
gio-unix-2.0
-
10/28/2024 06:50:15 AM
rwxr-xr-x
📁
glib-2.0
-
10/28/2024 06:50:15 AM
rwxr-xr-x
📄
glob.h
6.46 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
glvnd
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📄
gnu-versions.h
2.29 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gnumake.h
2.84 KB
04/17/2018 12:12:28 PM
rw-r--r--
📁
gphoto2
-
10/28/2024 06:50:29 AM
rwxr-xr-x
📁
graphite2
-
10/28/2024 06:50:29 AM
rwxr-xr-x
📄
grp.h
6.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gshadow.h
4.42 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
gtk-3.0
-
10/28/2024 06:50:32 AM
rwxr-xr-x
📁
harfbuzz
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📄
iconv.h
1.81 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
icu-le-hb
-
10/28/2024 06:50:30 AM
rwxr-xr-x
📄
ifaddrs.h
2.77 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
inttypes.h
11.61 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
jbig.h
9.55 KB
11/22/2022 04:58:49 PM
rw-r--r--
📄
jbig85.h
6.78 KB
11/22/2022 04:58:49 PM
rw-r--r--
📄
jbig_ar.h
2.21 KB
11/22/2022 04:58:49 PM
rw-r--r--
📄
jerror.h
14.73 KB
09/21/2022 06:07:11 PM
rw-r--r--
📄
jmorecfg.h
14.7 KB
09/21/2022 06:07:11 PM
rw-r--r--
📄
jpegint.h
15.22 KB
07/07/2017 08:31:10 PM
rw-r--r--
📄
jpeglib.h
48.71 KB
09/21/2022 06:07:11 PM
rw-r--r--
📄
langinfo.h
17.43 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
lastlog.h
126 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📁
layout
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📁
libdrm
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📁
libexif
-
10/28/2024 06:50:22 AM
rwxr-xr-x
📄
libgen.h
1.35 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
libintl.h
4.47 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
libio.h
918 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📁
libltdl
-
01/31/2023 12:34:20 PM
rwxr-xr-x
📁
libpng
-
01/31/2023 12:38:17 PM
rwxr-xr-x
📁
libpng16
-
01/31/2023 12:38:17 PM
rwxr-xr-x
📁
libraw1394
-
10/28/2024 06:50:34 AM
rwxr-xr-x
📄
libsync.h
3.38 KB
04/03/2020 12:28:15 PM
rw-r--r--
📄
libv4l-plugin.h
1.72 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l1-videodev.h
6.99 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l1.h
2.85 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l2.h
4.62 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l2rds.h
14.31 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4lconvert.h
6.16 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
limits.h
5.29 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
link.h
7.04 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
linux
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
locale.h
7.49 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ltdl.h
5.58 KB
08/20/2016 12:34:31 PM
rw-r--r--
📁
lzma
-
01/31/2023 12:38:19 PM
rwxr-xr-x
📄
lzma.h
9.51 KB
04/08/2022 12:56:46 PM
rw-r--r--
📄
malloc.h
5.96 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
math.h
44.33 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
mcheck.h
2.38 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
memory.h
955 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📁
misc
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
mntent.h
3.28 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
monetary.h
1.76 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
mqueue.h
3.67 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
mtd
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📁
net
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netash
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netatalk
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netax25
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
netdb.h
27.39 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
neteconet
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netinet
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netipx
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netiucv
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netpacket
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netrom
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netrose
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
nfs
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
nl_types.h
1.71 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
nss.h
1.83 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
obstack.h
20.81 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
odbcinst.h
17.85 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
odbcinstext.h
10.69 KB
03/26/2018 02:37:19 PM
rw-r--r--
📁
opencv
-
10/28/2024 06:50:42 AM
rwxr-xr-x
📁
opencv2
-
10/28/2024 06:50:42 AM
rwxr-xr-x
📁
pango-1.0
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📄
paths.h
2.91 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
pcre.h
30.96 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcre_scanner.h
6.45 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcre_stringpiece.h
6.16 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcrecpp.h
26.02 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcrecpparg.h
6.62 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcreposix.h
5.5 KB
05/17/2022 07:42:45 AM
rw-r--r--
📁
pixman-1
-
10/28/2024 06:50:19 AM
rwxr-xr-x
📄
png.h
140.77 KB
04/30/2019 02:56:15 PM
rw-r--r--
📄
pngconf.h
22.31 KB
04/30/2019 02:56:15 PM
rw-r--r--
📄
pnglibconf.h
7.39 KB
04/30/2019 02:56:15 PM
rw-r--r--
📄
poll.h
22 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
printf.h
6.64 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
proc_service.h
3.39 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
protocols
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
pthread.h
40.3 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
pty.h
1.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
pwd.h
5.89 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
python3.6
-
10/28/2024 08:45:52 AM
rwxr-xr-x
📁
python3.6m
-
10/28/2024 08:45:52 AM
rwxr-xr-x
📁
rdma
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
re_comp.h
962 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
regex.h
21.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
regexp.h
1.41 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
resolv.h
11.73 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
rpc
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
rpcsvc
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
sched.h
4.62 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
scsi
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
search.h
5.1 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
semaphore.h
2.34 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
setjmp.h
3.58 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
sgtty.h
1.31 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
shadow.h
5.08 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
signal.h
11.96 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
sound
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
spawn.h
6.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
sql.h
31.62 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqlext.h
81.3 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqlspi.h
6.82 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqltypes.h
10.88 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqlucode.h
21.16 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
stab.h
264 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdc-predef.h
2.31 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdint.h
8.42 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdio.h
28.97 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdio_ext.h
2.73 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdlib.h
34.95 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
string.h
17.13 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
strings.h
4.64 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stropts.h
2.98 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
sudo_plugin.h
7.89 KB
04/04/2023 12:44:58 PM
rw-r--r--
📄
syscall.h
25 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
sysexits.h
5.11 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
syslog.h
24 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
tar.h
3.7 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
tbb
-
10/28/2024 06:50:34 AM
rwxr-xr-x
📄
termio.h
214 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
termios.h
3.51 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
tgmath.h
30.75 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
thread_db.h
15.65 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
time.h
10.12 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ttyent.h
2.44 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
uchar.h
2.26 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ucontext.h
1.89 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ulimit.h
1.55 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
unicode
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📄
unistd.h
41.78 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
uodbc_extras.h
2.25 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
uodbc_stats.h
2.53 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
ustat.h
23 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
utime.h
1.47 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
utmp.h
3.15 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
utmpx.h
4 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
values.h
1.91 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
video
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📁
vpx
-
01/31/2023 12:38:19 PM
rwxr-xr-x
📄
wait.h
22 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
wayland-client-core.h
8.41 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-client-protocol.h
174.44 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-client.h
1.54 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-cursor.h
2.21 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-egl-core.h
1.75 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-egl.h
1.28 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-server-core.h
18.32 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-server-protocol.h
136.57 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-server.h
3.16 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-util.h
23.16 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-version.h
1.32 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wchar.h
30.38 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
wctype.h
5.42 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
wordexp.h
2.44 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
x86_64-linux-gnu
-
10/28/2024 06:50:44 AM
rwxr-xr-x
📁
xcb
-
10/28/2024 06:50:21 AM
rwxr-xr-x
📁
xen
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
xf86drm.h
34.65 KB
05/11/2020 12:47:23 PM
rw-r--r--
📄
xf86drmMode.h
17.59 KB
04/03/2020 12:28:15 PM
rw-r--r--
📁
xfs
-
04/18/2018 06:44:31 AM
rwxr-xr-x
📁
xkbcommon
-
10/28/2024 06:50:32 AM
rwxr-xr-x
📄
zconf.h
15.88 KB
08/16/2022 10:08:38 PM
rw-r--r--
📄
zlib.h
94 KB
08/16/2022 10:08:38 PM
rw-r--r--
Editing: odbcinstext.h
Close
/************************************************** * odbcinstext.h * ************************************************** * This code was created by Peter Harvey @ CodeByDesign. * Released under LGPL 28.JAN.99 * * Contributions from... * ----------------------------------------------- * Peter Harvey - pharvey@codebydesign.com **************************************************/ #ifndef _ODBCINST_H #define _ODBCINST_H #ifdef UNIXODBC_SOURCE #include <ltdl.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef HAVE_PWD_H #include <pwd.h> #endif #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #include <stdio.h> #ifndef ODBCVER #define ODBCVER 0x0380 #endif #include <ini.h> #include <log.h> #include <odbcinst.h> /******************************************************** * CONSTANTS WHICH DO NOT EXIST ELSEWHERE ********************************************************/ #ifndef TRUE #define FALSE 0; #define TRUE 1; #endif #else /* not UNIXODBC_SOURCE */ /******************************************************** * outside the unixODBC source tree only the * * public interface is exposed * ********************************************************/ #include <odbcinst.h> /******************************************************** * these limits are originally defined in ini.h * * but are needed to implement ODBCINSTGetProperties * * for the Driver Setup * ********************************************************/ #define INI_MAX_LINE 1000 #define INI_MAX_OBJECT_NAME INI_MAX_LINE #define INI_MAX_PROPERTY_NAME INI_MAX_LINE #define INI_MAX_PROPERTY_VALUE INI_MAX_LINE #endif /* UNIXODBC_SOURCE */ /******************************************************** * PUBLIC API ********************************************************/ #ifdef __cplusplus extern "C" { #endif BOOL INSTAPI SQLConfigDataSource( HWND hWnd, WORD nRequest, LPCSTR pszDriver, LPCSTR pszAttributes ); BOOL INSTAPI SQLGetConfigMode( UWORD *pnConfigMode ); BOOL INSTAPI SQLGetInstalledDrivers( LPSTR pszBuf, WORD nBufMax, WORD *pnBufOut ); BOOL INSTAPI SQLInstallDriverEx( LPCSTR pszDriver, LPCSTR pszPathIn, LPSTR pszPathOut, WORD nPathOutMax, WORD *nPathOut, WORD nRequest, LPDWORD pnUsageCount ); BOOL INSTAPI SQLInstallDriverManager( LPSTR pszPath, WORD nPathMax, WORD *pnPathOut ); RETCODE INSTAPI SQLInstallerError( WORD nError, DWORD *pnErrorCode, LPSTR pszErrorMsg, WORD nErrorMsgMax, WORD *nErrorMsg ); BOOL INSTAPI SQLManageDataSources( HWND hWnd ); BOOL INSTAPI SQLReadFileDSN( LPCSTR pszFileName, LPCSTR pszAppName, LPCSTR pszKeyName, LPSTR pszString, WORD nString, WORD *pnString ); BOOL INSTAPI SQLRemoveDriver( LPCSTR pszDriver, BOOL nRemoveDSN, LPDWORD pnUsageCount ); BOOL INSTAPI SQLRemoveDriverManager( LPDWORD pnUsageCount ); BOOL INSTAPI SQLRemoveDSNFromIni( LPCSTR pszDSN ); BOOL INSTAPI SQLRemoveTranslator( LPCSTR pszTranslator, LPDWORD pnUsageCount ); BOOL INSTAPI SQLSetConfigMode( UWORD nConfigMode ); BOOL INSTAPI SQLValidDSN( LPCSTR pszDSN ); BOOL INSTAPI SQLWriteDSNToIni( LPCSTR pszDSN, LPCSTR pszDriver ); BOOL INSTAPI SQLWriteFileDSN( LPCSTR pszFileName, LPCSTR pszAppName, LPCSTR pszKeyName, LPCSTR pszString ); BOOL INSTAPI SQLWritePrivateProfileString( LPCSTR pszSection, LPCSTR pszEntry, LPCSTR pszString, LPCSTR pszFileName ); #ifdef __cplusplus } #endif #ifdef UNIXODBC_SOURCE /******************************************************** * PRIVATE API ********************************************************/ #if defined(__cplusplus) extern "C" { #endif BOOL _odbcinst_UserINI( char *pszFileName, BOOL bVerify ); BOOL _odbcinst_SystemINI( char *pszFileName, BOOL bVerify ); BOOL _odbcinst_FileINI( char *pszPath ); char * INSTAPI odbcinst_system_file_path( char *buffer ); char * INSTAPI odbcinst_system_file_name( char *buffer ); char * INSTAPI odbcinst_user_file_path( char *buffer ); char * INSTAPI odbcinst_user_file_name( char *buffer ); BOOL _odbcinst_ConfigModeINI( char *pszFileName ); int _odbcinst_GetSections( HINI hIni, LPSTR pRetBuffer, int nRetBuffer, int *pnBufPos ); int _odbcinst_GetEntries( HINI hIni, LPCSTR pszSection, LPSTR pRetBuffer, int nRetBuffer, int *pnBufPos ); int _SQLGetInstalledDrivers( LPCSTR pszSection, LPCSTR pszEntry, LPCSTR pszDefault, LPCSTR pRetBuffer, int nRetBuffer ); BOOL _SQLWriteInstalledDrivers( LPCSTR pszSection, LPCSTR pszEntry, LPCSTR pszString ); BOOL _SQLDriverConnectPrompt( HWND hwnd, SQLCHAR *dsn, SQLSMALLINT len_dsn ); void __set_config_mode( int mode ); int __get_config_mode( void ); int inst_logPushMsg( char *pszModule, char *pszFunctionName, int nLine, int nSeverity, int nCode, char *pszMessage ); int inst_logPeekMsg( long nMsg, HLOGMSG *phMsg ); int inst_logClear(); /* * we should look at caching this info, the calls can become expensive */ #ifndef DISABLE_INI_CACHING struct ini_cache { char *fname; char *section; char *entry; char *value; char *default_value; int buffer_size; int ret_value; int config_mode; long timestamp; struct ini_cache *next; }; #endif #ifdef __cplusplus } #endif #endif /* UNIXODBC_SOURCE */ /********************************* * ODBCINST - PROPERTIES ********************************* * * PURPOSE: * * To provide the caller a mechanism to interact with Data Source properties * containing Driver specific options while avoiding embedding GUI code in * the ODBC infrastructure. * * DETAILS: * * 1. Application calls libodbcinst.ODBCINSTConstructProperties() * - odbcinst will load the driver and call libMyDrvS.ODBCINSTGetProperties() to build a list of all possible properties * 2. Application calls libodbcinst.ODBCINSTSetProperty() * - use, as required, to init values (ie if configuring existing DataSource) * - use libodbcinst.SetConfigMode() & libodbcinst.SQLGetPrivateProfileString() to read existing Data Source info (do not forget to set the mode back) * - do not forget to set mode back to ODBC_BOTH_DSN using SetConfigMode() when done reading * - no call to Driver Setup * 3. Application calls libodbcinst.ODBCINSTValidateProperty() * - use as required (ie on leave widget event) * - an assesment of the entire property list is also done * - this is passed onto the driver setup DLL * 4. Application should refresh widgets in case aPromptData or szValue has changed * - refresh should occur for each property where bRefresh = 1 * 5. Application calls libodbcinst.ODBCINSTValidateProperties() * - call this just before saving new Data Source or updating existing Data Source * - should always call this before saving * - use libodbcinst.SetConfigMode() & libodbcinst.SQLWritePrivateProfileString() to save Data Source info * - do not forget to set mode back to ODBC_BOTH_DSN using SetConfigMode() when done saving * - this is passed onto the driver setup DLL * 6. Application calls ODBCINSTDestructProperties() to free up memory * - unload Driver Setup DLL * - frees memory (Driver Setup allocates most of the memory but we free ALL of it in odbcinst) * * NOTES * * 1. odbcinst implements 5 functions to support this GUI config stuff * 2. Driver Setup DLL implements just 3 functions for its share of the work * *********************************/ #define ODBCINST_SUCCESS 0 #define ODBCINST_WARNING 1 #define ODBCINST_ERROR 2 #define ODBCINST_PROMPTTYPE_LABEL 0 /* readonly */ #define ODBCINST_PROMPTTYPE_TEXTEDIT 1 #define ODBCINST_PROMPTTYPE_LISTBOX 2 #define ODBCINST_PROMPTTYPE_COMBOBOX 3 #define ODBCINST_PROMPTTYPE_FILENAME 4 #define ODBCINST_PROMPTTYPE_HIDDEN 5 #define ODBCINST_PROMPTTYPE_TEXTEDIT_PASSWORD 6 typedef struct tODBCINSTPROPERTY { struct tODBCINSTPROPERTY *pNext; /* pointer to next property, NULL if last property */ char szName[INI_MAX_PROPERTY_NAME+1]; /* property name */ char szValue[INI_MAX_PROPERTY_VALUE+1]; /* property value */ int nPromptType; /* PROMPTTYPE_TEXTEDIT, PROMPTTYPE_LISTBOX, PROMPTTYPE_COMBOBOX, PROMPTTYPE_FILENAME */ char **aPromptData; /* array of pointers terminated with a NULL value in array. */ char *pszHelp; /* help on this property (driver setups should keep it short) */ void *pWidget; /* CALLER CAN STORE A POINTER TO ? HERE */ int bRefresh; /* app should refresh widget ie Driver Setup has changed aPromptData or szValue */ void *hDLL; /* for odbcinst internal use... only first property has valid one */ } ODBCINSTPROPERTY, *HODBCINSTPROPERTY; /* * Conversion routines for wide interface */ char* _multi_string_alloc_and_copy( LPCWSTR in ); char* _single_string_alloc_and_copy( LPCWSTR in ); void _single_string_copy_to_wide( SQLWCHAR *out, LPCSTR in, int len ); void _multi_string_copy_to_wide( SQLWCHAR *out, LPCSTR in, int len ); void _single_copy_to_wide( SQLWCHAR *out, LPCSTR in, int len ); SQLWCHAR* _multi_string_alloc_and_expand( LPCSTR in ); SQLWCHAR* _single_string_alloc_and_expand( LPCSTR in ); void _single_copy_from_wide( SQLCHAR *out, LPCWSTR in, int len ); /* * To support finding UI plugin */ char *_getUIPluginName( char *pszName, char *pszUI ); char *_appendUIPluginExtension( char *pszNameAndExtension, char *pszName ); char *_prependUIPluginPath( char *pszPathAndName, char *pszName ); #if defined(__cplusplus) extern "C" { #endif /* ONLY IMPLEMENTED IN ODBCINST (not in Driver Setup) */ int INSTAPI ODBCINSTConstructProperties( char *szDriver, HODBCINSTPROPERTY *hFirstProperty ); int INSTAPI ODBCINSTSetProperty( HODBCINSTPROPERTY hFirstProperty, char *pszProperty, char *pszValue ); int INSTAPI ODBCINSTDestructProperties( HODBCINSTPROPERTY *hFirstProperty ); int INSTAPI ODBCINSTAddProperty( HODBCINSTPROPERTY hFirstProperty, char *pszProperty, char *pszValue ); /* IMPLEMENTED IN ODBCINST AND DRIVER SETUP */ int INSTAPI ODBCINSTValidateProperty( HODBCINSTPROPERTY hFirstProperty, char *pszProperty, char *pszMessage ); int INSTAPI ODBCINSTValidateProperties( HODBCINSTPROPERTY hFirstProperty, HODBCINSTPROPERTY hBadProperty, char *pszMessage ); /* ONLY IMPLEMENTED IN DRIVER SETUP (not in ODBCINST) */ int INSTAPI ODBCINSTGetProperties( HODBCINSTPROPERTY hFirstProperty ); #if defined(__cplusplus) } #endif #endif