+2000-08-02 Ezra Peisach <epeisach@mit.edu>
+
+ * tf_util.c (tf_init): Add KRB5_DLLIMP/KRB5_CALLCONV definitions
+ for functions exported prototypes in krb.h.
+
2000-07-21 Ezra Peisach <epeisach@mit.edu>
* g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintion.
static int lastpos; /* End of tfbfr */
static char tfbfr[BUFSIZ]; /* Buffer for ticket data */
-static tf_gets(), tf_read();
+static int tf_gets PROTOTYPE((char *, int)), tf_read PROTOTYPE((char *, int));
/*
* This file contains routines for manipulating the ticket cache file.
* TKT_FIL_LCK - couldn't lock the file, even after a retry
*/
-int tf_init(tf_name, rw)
+KRB5_DLLIMP int KRB5_CALLCONV tf_init(tf_name, rw)
char *tf_name;
int rw;
{
* was longer than ANAME_SZ, TKT_FIL_FMT is returned.
*/
-int tf_get_pname(p)
+KRB5_DLLIMP int KRB5_CALLCONV tf_get_pname(p)
char *p;
{
if (fd < 0) {
* instance may be null.
*/
-int tf_get_pinst(inst)
+KRB5_DLLIMP int KRB5_CALLCONV tf_get_pinst(inst)
char *inst;
{
if (fd < 0) {
* EOF - end of file encountered
*/
-int tf_get_cred(c)
+KRB5_DLLIMP int KRB5_CALLCONV tf_get_cred(c)
CREDENTIALS *c;
{
KTEXT ticket = &c->ticket_st; /* pointer to ticket */
* The return value is not defined.
*/
-void tf_close()
+KRB5_DLLIMP void KRB5_CALLCONV tf_close()
{
if (!(fd < 0)) {
#ifdef TKT_SHMEM
{
off_t lseek();
- int count; /* count for write */
+ unsigned int count; /* count for write */
#ifdef TKT_SHMEM
int *skey_check;
#endif /* TKT_SHMEM */