Linux eyewebsolution.dnshostserver.in 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Apache
: 185.131.55.234 | : 216.73.216.138
674 Domain
5.6.40
omxrelocation
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
src /
file_protector-1.1-1524 /
transport /
[ HOME SHELL ]
Name
Size
Permission
Action
device.c
1.18
KB
-rw-r--r--
device.h
257
B
-rw-r--r--
exit_event.c
1.23
KB
-rw-r--r--
exit_event.h
352
B
-rw-r--r--
fork_event.c
946
B
-rw-r--r--
fork_event.h
403
B
-rw-r--r--
fs_event.c
19.89
KB
-rw-r--r--
fs_event.h
1.92
KB
-rw-r--r--
message.c
13.12
KB
-rw-r--r--
message.h
3.77
KB
-rw-r--r--
ring.h
2.29
KB
-rw-r--r--
set.h
1.86
KB
-rw-r--r--
thread_safe_path.h
2.28
KB
-rw-r--r--
transport.c
50.01
KB
-rw-r--r--
transport.h
2.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : set.h
/** @file @brief 'set' @details Copyright (c) 2021 Acronis International GmbH @author Mikhail Krivtsov (mikhail.krivtsov@acronis.com) @since $Id: $ */ #pragma once #include <linux/types.h> // bool, [u]int(8|16|32|64)_t, pid_t, size_t typedef struct { void *buffer; size_t item_size; unsigned capacity; unsigned count; unsigned count_max; } set_t; static inline void set_init(set_t *set, void *buffer, size_t buffer_size, size_t item_size) { set->buffer = buffer; set->item_size = item_size; set->capacity = buffer_size / item_size; set->count = 0; set->count_max = 0; } static inline void *set_buffer(set_t *set) { return set->buffer; } static inline unsigned set_capacity(set_t *set) { return set->capacity; } static inline void *set_ptr_next(set_t *set, void *item_ptr) { return (void *) ((char *)item_ptr + set->item_size); } static inline void *set_item_ptr(set_t *set, unsigned item_index) { return (void *) (item_index * set->item_size + (char *)set->buffer); } static inline void *set_begin_ptr(set_t *set) { return set_item_ptr(set, 0); } static inline void *set_end_ptr(set_t *set) { return set_item_ptr(set, set->count); } static inline unsigned set_items_count(set_t *set) { return set->count; } static inline void set_items_count_set(set_t *set, unsigned count) { set->count = count; if (set->count_max < count) { set->count_max = count; } } static inline unsigned set_items_count_dec(set_t *set) { return --set->count; } static inline unsigned set_items_count_inc(set_t *set) { unsigned count = ++set->count; if (set->count_max < count) { set->count_max = count; } return count; } static inline unsigned set_items_count_max(set_t *set) { return set->count_max; } static inline bool set_is_empty(set_t *set) { return !set_items_count(set); } static inline bool set_is_full(set_t *set) { return set_items_count(set) >= set->capacity; }
Close