windows-cell-name-length-consistency-20080806
[openafs.git] / src / WINNT / afsd / afskfw.h
index 498b9f2..d9fb66a 100644 (file)
@@ -1,5 +1,6 @@
 /*
- * Copyright (c) 2003 SkyRope, LLC
+* Copyright (c) 2004, 2005, 2006 Secure Endpoints Inc.
+* Copyright (c) 2003 SkyRope, LLC
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, with or without 
@@ -36,9 +37,10 @@ extern "C" {
 #include <afs/stds.h>
 #include <afs/auth.h>
 #include <afs/cellconfig.h>
+#include <cm_config.h>
 #include <rxkad.h>
 
-#define MAXCELLCHARS   64
+#define CELL_MAXNAMELEN 256
 #define MAXHOSTCHARS   64
 #define MAXHOSTSPERCELL 8
 #define TRANSARCAFSDAEMON "TransarcAFSDaemon"
@@ -62,6 +64,10 @@ BOOL KFW_probe_kdc(struct afsconf_cell *);
 int  KFW_AFS_get_cellconfig(char *, struct afsconf_cell *, char *);
 void KFW_import_windows_lsa(void);
 BOOL KFW_AFS_get_lsa_principal(char *, DWORD *);
+int  KFW_AFS_set_file_cache_dacl(char *filename, HANDLE hUserToken);
+int  KFW_AFS_obtain_user_temp_directory(HANDLE hUserToken, char *newfilename, int size);
+int  KFW_AFS_copy_file_cache_to_default_cache(char * filename);
+
 
 /* These functions are only to be used in the afslogon.dll */
 void KFW_AFS_copy_cache_to_system_file(char *, char *);