~ubuntu-branches/ubuntu/trusty/krb5/trusty-proposed

« back to all changes in this revision

Viewing changes to src/windows/include/leashwin.h

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-11-10 02:20:12 UTC
  • mfrom: (53.1.3 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131110022012-b8ojkqhcxos55kln
Add alternate dependency on libverto-libevent1 as that's the package
ABI name in ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#ifndef NO_KRB4
6
6
#include <krb.h>
7
7
#else
 
8
#include <krb5.h>
8
9
#define ANAME_SZ                40
9
10
#define REALM_SZ                40
10
11
#define SNAME_SZ                40
15
16
 
16
17
#define DLGTYPE_PASSWD   0
17
18
#define DLGTYPE_CHPASSWD 1
 
19
#define DLGTYPE_MASK 0x0000ffff
 
20
#define DLGFLAG_READONLYPRINC 0x10000
18
21
typedef struct {
19
22
    int dlgtype;
20
23
    // Tells whether dialog box is in change pwd more or init ticket mode???
103
106
        2 * NETID_CCACHE_NAME_SZ))
104
107
#endif /* NETIDMGR */
105
108
 
106
 
typedef struct {
107
 
    char    principal[MAX_K_NAME_SZ]; /* Principal name/instance/realm */
 
109
typedef struct TicketList TicketList;
 
110
struct TicketList {
 
111
    TicketList *next;
 
112
    char *service;
 
113
    char *encTypes;
 
114
    krb5_timestamp issued;
 
115
    krb5_timestamp valid_until;
 
116
    krb5_timestamp renew_until;
 
117
    unsigned long flags;
 
118
};
 
119
 
 
120
typedef struct TICKETINFO TICKETINFO;
 
121
struct TICKETINFO {
 
122
    TICKETINFO *next;
 
123
    char   *principal;                /* Principal name/instance@realm */
 
124
    char   *ccache_name;
 
125
    TicketList *ticket_list;
108
126
    int     btickets;                 /* Do we have tickets? */
109
 
    long    lifetime;                 /* Lifetime -- needs to have
110
 
                                         room for 255 5-minute
111
 
                                         periods * 5 * 60 */
112
 
    long    issue_date;               /* The issue time */
113
 
    long    renew_till;               /* The Renew time (k5 only) */
114
 
} TICKETINFO;
 
127
    long    issued;                   /* The issue time */
 
128
    long    valid_until;              /* */
 
129
    long    renew_until;              /* The Renew time (k5 only) */
 
130
    unsigned long flags;
 
131
};
 
132
 
 
133
#ifdef __cplusplus
 
134
extern "C" {
 
135
#endif
115
136
 
116
137
int FAR Leash_kinit_dlg(HWND hParent, LPLSH_DLGINFO lpdlginfo);
117
138
int FAR Leash_kinit_dlg_ex(HWND hParent, LPLSH_DLGINFO_EX lpdlginfoex);
194
215
DWORD Leash_get_default_preserve_kinit_settings();
195
216
DWORD Leash_set_default_preserve_kinit_settings(DWORD onoff);
196
217
DWORD Leash_reset_default_preserve_kinit_settings();
 
218
#ifdef __cplusplus
 
219
}
 
220
#endif
197
221
 
198
222
#endif /* LEASHWIN */