aklog: Remove Windows specific code from header

When commit 3f54c934b9 removed all of
the Windows code from aklog, it missed the stuff in aklog.h. Get
rid of this too, for clarity.

Change-Id: I6d408ffc313d18fd512fa03494a15ec628f1e292
Reviewed-on: http://gerrit.openafs.org/4782
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Simon Wilkinson 2011-06-04 18:04:48 +01:00 committed by Derrick Brashear
parent cc72cb1e81
commit 1841860f62

View File

@ -73,35 +73,4 @@ struct credentials {
typedef struct credentials CREDENTIALS;
#endif /* ! HAVE_KERBEROSIV_KRB_H */
#ifdef WINDOWS
/*
* Complete server info for one cell.
*
* Normally this is defined in afs/cellconfig.h, but the Windows header
* files and API don't use this structure. So, I'll include it here so
* I don't have to rewrite large chunks of code.
*/
#define MAXCELLCHARS 64
#define MAXHOSTCHARS 64
#define MAXHOSTSPERCELL 8
struct afsconf_cell {
char name[MAXCELLCHARS]; /* Cell name */
short numServers; /* Num active servers for the cell*/
short flags; /* useful flags */
struct sockaddr_in hostAddr[MAXHOSTSPERCELL];
/* IP addresses for cell's servers*/
char hostName[MAXHOSTSPERCELL][MAXHOSTCHARS];
/* Names for cell's servers */
char *linkedCell; /* Linked cell name, if any */
};
/* Windows krb5 libraries don't seem to have this call */
#define krb5_xfree(p) free(p)
/* Title for dialog boxes */
#define AKLOG_DIALOG_NAME "aklog"
#endif /* WINDOWS */
#endif /* __AKLOG_H__ */