add version script to libotp

This commit is contained in:
Love Hornquist Astrand
2009-12-07 21:15:29 -08:00
parent 5e43df65a5
commit e3044663df
2 changed files with 28 additions and 0 deletions

View File

@@ -40,6 +40,10 @@ if do_roken_rename
ROKEN_SRCS = snprintf.c strcasecmp.c strncasecmp.c strlwr.c strlcpy.c strlcat.c
endif
if versionscript
libotp_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
endif
$(libotp_la_OBJECTS): $(ndbm_wrap)
ndbm_wrap.c:

View File

@@ -0,0 +1,24 @@
HEIMDAL_OTP_1.0 {
global:
otp_challenge;
otp_checksum;
otp_db_close;
otp_db_open;
otp_delete;
otp_error;
otp_get;
otp_parse;
otp_parse_altdict;
otp_parse_hex;
otp_parse_stddict;
otp_print_hex;
otp_print_hex_extended;
otp_print_stddict;
otp_print_stddict_extended;
otp_put;
otp_simple_get;
otp_verify_user;
otp_verify_user_1;
local:
*;
};