From: Ezra Peisach Date: Mon, 11 Jun 2001 19:59:34 +0000 (+0000) Subject: * sendauth.c (krb_sendauth): Add KRB5_DLLIMP/KRB5_CALLCONV definitions X-Git-Tag: krb5-1.3-alpha1~1431 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1cf5eb521b747eda9f1d68a7cdefbea564f6c44;p=krb5.git * sendauth.c (krb_sendauth): Add KRB5_DLLIMP/KRB5_CALLCONV definitions for function with exported prototype in krb.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13331 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 1ba4c0df0..9b6c2ca76 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,8 @@ +2001-06-11 Ezra Peisach + + * sendauth.c (krb_sendauth): Add KRB5_DLLIMP/KRB5_CALLCONV definitions + for function with exported prototype in krb.h + 2001-06-08 Ezra Peisach * cr_tkt.c (krb_create_ticket): Get rid of last argument (k5key) diff --git a/src/lib/krb4/sendauth.c b/src/lib/krb4/sendauth.c index a4777cff2..c8b6602d7 100644 --- a/src/lib/krb4/sendauth.c +++ b/src/lib/krb4/sendauth.c @@ -178,21 +178,23 @@ krb_net_rd_sendauth (fd, reply, raw_len) * end-user application server, sucks a response out of the socket, * and decodes it to verify mutual authentication. */ -int +KRB5_DLLIMP int KRB5_CALLCONV krb_sendauth(options, fd, ticket, service, inst, realm, checksum, msg_data, cred, schedule, laddr, faddr, version) long options; /* bit-pattern of options */ int fd; /* file descriptor to write onto */ KTEXT ticket; /* where to put ticket (return); or supplied in case of KOPT_DONT_MK_REQ */ - char *service, *inst, *realm; /* service name, instance, realm */ + char FAR *service; /* service name */ + char FAR *inst; /* service instance */ + char FAR *realm; /* service realm */ unsigned KRB4_32 checksum; /* checksum to include in request */ MSG_DAT *msg_data; /* mutual auth MSG_DAT (return) */ CREDENTIALS *cred; /* credentials (return) */ Key_schedule schedule; /* key schedule (return) */ - struct sockaddr_in *laddr; /* local address */ - struct sockaddr_in *faddr; /* address of foreign host on fd */ - char *version; /* version string */ + struct sockaddr_in FAR *laddr; /* local address */ + struct sockaddr_in FAR *faddr; /* address of foreign host on fd */ + char FAR *version; /* version string */ { int rem, cc; char srv_inst[INST_SZ];