Files
fastfetch/src/detection/users/users.h
T

20 lines
333 B
C
Raw Normal View History

2022-10-06 17:47:49 +08:00
#pragma once
#ifndef FF_INCLUDED_detection_users_users
#define FF_INCLUDED_detection_users_users
#include "fastfetch.h"
2023-09-08 00:07:14 +08:00
typedef struct FFUserResult
{
FFstrbuf name;
2023-09-08 14:32:01 +08:00
FFstrbuf hostName;
2023-09-08 00:07:14 +08:00
FFstrbuf clientIp;
FFstrbuf tty;
uint64_t loginTime; // ms
} FFUserResult;
const char* ffDetectUsers(FFlist* users);
2022-10-06 17:47:49 +08:00
#endif