master
h 25 lines 643 Bytes
Raw
1 /*
2 * Header file for commands-windows-ssh.c
3 *
4 * Copyright Schweitzer Engineering Laboratories. 2024
5 *
6 * Authors:
7 * Aidan Leuck <aidan_leuck@selinc.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 */
12
13 #include <glib/gstrfuncs.h>
14 typedef struct WindowsUserInfo {
15 char *sshDirectory;
16 char *authorizedKeyFile;
17 char *username;
18 char *SSID;
19 bool isAdmin;
20 } WindowsUserInfo;
21
22 typedef WindowsUserInfo *PWindowsUserInfo;
23
24 void free_userInfo(PWindowsUserInfo info);
25 G_DEFINE_AUTO_CLEANUP_FREE_FUNC(PWindowsUserInfo, free_userInfo, NULL);