blob: 40ac67c4d9e5f8b0f67efda7019591b5c264a325 [file] [log] [blame]
aidaleuc6b9296b2024-04-24 08:40:29 -06001/*
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#include <stdbool.h>
15typedef struct WindowsUserInfo {
16 char *sshDirectory;
17 char *authorizedKeyFile;
18 char *username;
19 char *SSID;
20 bool isAdmin;
21} WindowsUserInfo;
22
23typedef WindowsUserInfo *PWindowsUserInfo;
24
25void free_userInfo(PWindowsUserInfo info);
26G_DEFINE_AUTO_CLEANUP_FREE_FUNC(PWindowsUserInfo, free_userInfo, NULL);