#
# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#

#
# MAPFILE HEADER START
#
# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
# Object versioning must comply with the rules detailed in
#
#	usr/src/lib/README.mapfiles
#
# You should not be making modifications here until you've read the most current
# copy of that file. If you need help, contact a gatekeeper for guidance.
#
# MAPFILE HEADER END
#

#
# Defines the public interface to sqlite
#

$mapfile_version 2

SYMBOL_VERSION ILLUMOS_sqlite_2.8.15 {
    global:
	# exported functions
	sqlite_open;
	sqlite_close;
	sqlite_exec;
	sqlite_last_insert_rowid;
	sqlite_changes;
	sqlite_last_statement_changes;
	sqlite_error_string;
	sqlite_interrupt;
	sqlite_complete;
	sqlite_busy_handler;
	sqlite_busy_timeout;
	sqlite_get_table;
	sqlite_free_table;
	sqlite_exec_printf;
	sqlite_exec_vprintf;
	sqlite_get_table_printf;
	sqlite_get_table_vprintf;
	sqlite_mprintf;
	sqlite_vmprintf;
	sqlite_freemem;
	sqlite_libversion;
	sqlite_libencoding;
	sqlite_create_function;
	sqlite_create_aggregate;
	sqlite_function_type;
	sqlite_set_result_string;
	sqlite_set_result_int;
	sqlite_set_result_double;
	sqlite_set_result_error;
	sqlite_user_data;
	sqlite_aggregate_context;
	sqlite_aggregate_count;
	sqlite_set_authorizer;
	sqlite_trace;
	sqlite_compile;
	sqlite_step;
	sqlite_finalize;
	sqlite_reset;
	sqlite_bind;
	sqlite_progress_handler;
	sqlite_commit_hook;
	sqlite_encode_binary;
	sqlite_decode_binary;

	# exported data
	sqlite_version	{ ASSERT = { TYPE = OBJECT; SIZE = 17; }; };
	sqlite_encoding	{ ASSERT = { TYPE = OBJECT; SIZE = 8; }; };
};

SYMBOL_VERSION SUNWprivate {
    global:
	sqlite_temp_directory	{
				  ASSERT = {
					  TYPE = OBJECT;
					  SIZE = addrsize;
					};
				};
	sqliteIsNumber;
	sqliteOsFileExists;
	sqliteStrICmp;
	sqliteStrNICmp;
    local:
	*;
};