CI: Update github action to avoid deprecation warning
[cygwin-setup.git] / mklink2.h
blobfda17f652754fdfcaa75a34c93b9855c411a0951
1 #ifndef SETUP_MKLINK2_H
2 #define SETUP_MKLINK2_H
4 /* This part of the code must be in C because the C++ interface to COM
5 doesn't work. */
7 #ifdef __cplusplus
8 extern "C"
10 #endif
11 void make_link_2 (char const *exepath, char const *args, char const *icon, char const *lname);
13 int mkcygsymlink (const char *from, const char *to);
14 int mkcyghardlink (const char *from, const char *to);
16 #ifdef __cplusplus
18 #endif
20 typedef enum
22 SymlinkTypeMagic,
23 SymlinkTypeShortcut,
24 SymlinkTypeNative,
25 SymlinkTypeWsl,
26 } SymlinkTypeEnum;
28 extern SymlinkTypeEnum symlinkType;
30 #endif /* SETUP_MKLINK2_H */