clsync
Loading...
Searching...
No Matches
ctx Struct Reference

#include <ctx.h>

Collaboration diagram for ctx:

Data Fields

volatile state_t state
 
pid_t pid
 
char pid_str [65]
 
size_t pid_str_len
 
uid_t uid
 
gid_t gid
 
uid_t privileged_uid
 
gid_t privileged_gid
 
uid_t synchandler_uid
 
gid_t synchandler_gid
 
pid_t child_pid [MAXCHILDREN]
 
int children
 
uint32_t iteration_num
 
rule_t rules [MAXRULES]
 
size_t rules_count
 
dev_t st_dev
 
char * flags_values_raw [(1<< 10)]
 
int flags [(1<< 10)]
 
int flags_set [(1<< 10)]
 
char * config_path
 
const char * config_block
 
char * customsignal [MAXSIGNALNUM+1]
 
char * label
 
char * watchdir
 
char * pidfile
 
char * standbyfile
 
char * exithookfile
 
char * preexithookfile
 
char * destdir
 
char * destproto
 
char * watchdirwslash
 
char * destdirwslash
 
char * statusfile
 
char * socketpath
 
char * dump_path
 
int socket
 
mode_t socketmod
 
uid_t socketuid
 
gid_t socketgid
 
size_t watchdirlen
 
size_t destdirlen
 
size_t watchdirsize
 
size_t destdirsize
 
size_t watchdirwslashsize
 
size_t destdirwslashsize
 
short int watchdir_dirlevel
 
char * handlerfpath
 
void * handler_handle
 
api_functs_t handler_funct
 
char * rulfpath
 
size_t rulfpathsize
 
char * listoutdir
 
struct notifyenginefuncts notifyenginefunct
 
int retries
 
size_t bfilethreshold
 
unsigned int syncdelay
 
queueinfo_t _queues [QUEUE_MAX]
 
unsigned int rsyncinclimit
 
time_t synctime
 
unsigned int synctimeout
 
sigset_t * sigset
 
char isignoredexitcode [(1<< 8)]
 
pthread_t blockthread [(1<< 4)]
 
size_t blockthread_count
 
char * chroot_dir
 
synchandler_args_t synchandler_args [SHARGS_MAX]
 
shflags_t synchandler_argf
 
void * fsmondata
 

Detailed Description

Definition at line 315 of file ctx.h.

Field Documentation

◆ _queues

queueinfo_t ctx::_queues[QUEUE_MAX]

Definition at line 392 of file ctx.h.

◆ bfilethreshold

size_t ctx::bfilethreshold

Definition at line 390 of file ctx.h.

◆ blockthread

pthread_t ctx::blockthread[(1<< 4)]

Definition at line 398 of file ctx.h.

◆ blockthread_count

size_t ctx::blockthread_count

Definition at line 399 of file ctx.h.

◆ child_pid

pid_t ctx::child_pid[MAXCHILDREN]

Definition at line 330 of file ctx.h.

◆ children

int ctx::children

Definition at line 331 of file ctx.h.

◆ chroot_dir

char* ctx::chroot_dir

Definition at line 401 of file ctx.h.

◆ config_block

const char* ctx::config_block

Definition at line 342 of file ctx.h.

◆ config_path

char* ctx::config_path

Definition at line 341 of file ctx.h.

◆ customsignal

char* ctx::customsignal[MAXSIGNALNUM+1]

Definition at line 343 of file ctx.h.

◆ destdir

char* ctx::destdir

Definition at line 350 of file ctx.h.

◆ destdirlen

size_t ctx::destdirlen

Definition at line 376 of file ctx.h.

◆ destdirsize

size_t ctx::destdirsize

Definition at line 378 of file ctx.h.

◆ destdirwslash

char* ctx::destdirwslash

Definition at line 353 of file ctx.h.

◆ destdirwslashsize

size_t ctx::destdirwslashsize

Definition at line 380 of file ctx.h.

◆ destproto

char* ctx::destproto

Definition at line 351 of file ctx.h.

◆ dump_path

char* ctx::dump_path

Definition at line 356 of file ctx.h.

◆ exithookfile

char* ctx::exithookfile

Definition at line 348 of file ctx.h.

◆ flags

int ctx::flags[(1<< 10)]

Definition at line 338 of file ctx.h.

◆ flags_set

int ctx::flags_set[(1<< 10)]

Definition at line 339 of file ctx.h.

◆ flags_values_raw

char* ctx::flags_values_raw[(1<< 10)]

Definition at line 337 of file ctx.h.

◆ fsmondata

void* ctx::fsmondata

Definition at line 419 of file ctx.h.

◆ gid

gid_t ctx::gid

Definition at line 322 of file ctx.h.

◆ handler_funct

api_functs_t ctx::handler_funct

Definition at line 384 of file ctx.h.

◆ handler_handle

void* ctx::handler_handle

Definition at line 383 of file ctx.h.

◆ handlerfpath

char* ctx::handlerfpath

Definition at line 382 of file ctx.h.

◆ isignoredexitcode

char ctx::isignoredexitcode[(1<< 8)]

Definition at line 397 of file ctx.h.

◆ iteration_num

uint32_t ctx::iteration_num

Definition at line 332 of file ctx.h.

◆ label

char* ctx::label

Definition at line 344 of file ctx.h.

◆ listoutdir

char* ctx::listoutdir

Definition at line 387 of file ctx.h.

◆ notifyenginefunct

struct notifyenginefuncts ctx::notifyenginefunct

Definition at line 388 of file ctx.h.

◆ pid

pid_t ctx::pid

Definition at line 318 of file ctx.h.

◆ pid_str

char ctx::pid_str[65]

Definition at line 319 of file ctx.h.

◆ pid_str_len

size_t ctx::pid_str_len

Definition at line 320 of file ctx.h.

◆ pidfile

char* ctx::pidfile

Definition at line 346 of file ctx.h.

◆ preexithookfile

char* ctx::preexithookfile

Definition at line 349 of file ctx.h.

◆ privileged_gid

gid_t ctx::privileged_gid

Definition at line 324 of file ctx.h.

◆ privileged_uid

uid_t ctx::privileged_uid

Definition at line 323 of file ctx.h.

◆ retries

int ctx::retries

Definition at line 389 of file ctx.h.

◆ rsyncinclimit

unsigned int ctx::rsyncinclimit

Definition at line 393 of file ctx.h.

◆ rules

rule_t ctx::rules[MAXRULES]

Definition at line 333 of file ctx.h.

◆ rules_count

size_t ctx::rules_count

Definition at line 334 of file ctx.h.

◆ rulfpath

char* ctx::rulfpath

Definition at line 385 of file ctx.h.

◆ rulfpathsize

size_t ctx::rulfpathsize

Definition at line 386 of file ctx.h.

◆ sigset

sigset_t* ctx::sigset

Definition at line 396 of file ctx.h.

◆ socket

int ctx::socket

Definition at line 360 of file ctx.h.

◆ socketgid

gid_t ctx::socketgid

Definition at line 363 of file ctx.h.

◆ socketmod

mode_t ctx::socketmod

Definition at line 361 of file ctx.h.

◆ socketpath

char* ctx::socketpath

Definition at line 355 of file ctx.h.

◆ socketuid

uid_t ctx::socketuid

Definition at line 362 of file ctx.h.

◆ st_dev

dev_t ctx::st_dev

Definition at line 335 of file ctx.h.

◆ standbyfile

char* ctx::standbyfile

Definition at line 347 of file ctx.h.

◆ state

volatile state_t ctx::state

Definition at line 317 of file ctx.h.

◆ statusfile

char* ctx::statusfile

Definition at line 354 of file ctx.h.

◆ syncdelay

unsigned int ctx::syncdelay

Definition at line 391 of file ctx.h.

◆ synchandler_argf

shflags_t ctx::synchandler_argf

Definition at line 416 of file ctx.h.

◆ synchandler_args

synchandler_args_t ctx::synchandler_args[SHARGS_MAX]

Definition at line 415 of file ctx.h.

◆ synchandler_gid

gid_t ctx::synchandler_gid

Definition at line 326 of file ctx.h.

◆ synchandler_uid

uid_t ctx::synchandler_uid

Definition at line 325 of file ctx.h.

◆ synctime

time_t ctx::synctime

Definition at line 394 of file ctx.h.

◆ synctimeout

unsigned int ctx::synctimeout

Definition at line 395 of file ctx.h.

◆ uid

uid_t ctx::uid

Definition at line 321 of file ctx.h.

◆ watchdir

char* ctx::watchdir

Definition at line 345 of file ctx.h.

◆ watchdir_dirlevel

short int ctx::watchdir_dirlevel

Definition at line 381 of file ctx.h.

◆ watchdirlen

size_t ctx::watchdirlen

Definition at line 375 of file ctx.h.

◆ watchdirsize

size_t ctx::watchdirsize

Definition at line 377 of file ctx.h.

◆ watchdirwslash

char* ctx::watchdirwslash

Definition at line 352 of file ctx.h.

◆ watchdirwslashsize

size_t ctx::watchdirwslashsize

Definition at line 379 of file ctx.h.


The documentation for this struct was generated from the following file: