version 1.3, 2025/03/09 19:14:25
|
version 1.4, 2025/04/08 14:39:21
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.4 2025/04/08 14:39:21 snw |
|
* Initial work on global handler refactor |
|
* |
* Revision 1.3 2025/03/09 19:14:25 snw |
* Revision 1.3 2025/03/09 19:14:25 snw |
* First phase of REUSE compliance and header reformat |
* First phase of REUSE compliance and header reformat |
* |
* |
Line 31
|
Line 34
|
* SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC |
* SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC |
* SPDX-License-Identifier: AGPL-3.0-or-later |
* SPDX-License-Identifier: AGPL-3.0-or-later |
**/ |
**/ |
|
|
|
#if !defined(__FREEM_GLOBAL_BLTIN_H) |
|
# define __FREEM_GLOBAL_BLTIN_H |
|
|
|
typedef struct global_handle { |
|
|
|
int fd; /* file descriptor */ |
|
long use_count; /* how many times has it been accessed? */ |
|
long age; |
|
short opened; |
|
short locked; |
|
unsigned long last_block; |
|
|
|
short fast_path; |
|
|
|
char global_name[256]; |
|
char global_path[4096]; |
|
|
|
|
|
struct global_handle *next; |
|
|
|
} global_handle; |
|
|
|
extern global_handle *global_handles_head; |
|
|
|
#endif |