Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/krb5/src/windows/kfwlogon/kfwcpcc.c
34907 views
1
/*
2
3
Copyright 2005 by the Massachusetts Institute of Technology
4
5
All rights reserved.
6
7
Permission to use, copy, modify, and distribute this software and its
8
documentation for any purpose and without fee is hereby granted,
9
provided that the above copyright notice appear in all copies and that
10
both that copyright notice and this permission notice appear in
11
supporting documentation, and that the name of the Massachusetts
12
Institute of Technology (M.I.T.) not be used in advertising or publicity
13
pertaining to distribution of the software without specific, written
14
prior permission.
15
16
M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
17
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
18
M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
19
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
22
SOFTWARE.
23
24
*/
25
26
#include <windows.h>
27
#include "kfwlogon.h"
28
29
int main(int argc, char *argv[])
30
{
31
if ( argc != 2 )
32
return 1;
33
34
KFW_initialize();
35
36
return KFW_copy_file_cache_to_api_cache(argv[1]);
37
}
38
39