MCPcopy Create free account

hub / github.com/davmac314/dinit / functions

Functions1,514 in github.com/davmac314/dinit

↓ 4 callersMethodcontains
src/includes/dinit-util.h:1063
↓ 4 callersFunctioncp_file
Copy a file
src/igr-tests/igr.h:621
↓ 4 callersMethoddependency_started
src/service.cc:399
↓ 4 callersMethodderegister
dasynq/include/dasynq.h:2322
↓ 4 callersMethoddisable_fd_watch_nolock
dasynq/include/dasynq/epoll.h:315
↓ 4 callersMethodextract_string
Extract string of given length from given index Throws: std::bad_alloc on allocation failure
src/includes/cpbuffer.h:139
↓ 4 callersFunctionfill_status_buffer5
src/control.cc:664
↓ 4 callersMethodfork
src/igr-tests/igr.h:52
↓ 4 callersFunctionfstatat
src/tests/test-includes/baseproc-sys.h:73
↓ 4 callersMethodget_buf_base
src/includes/cpbuffer.h:41
↓ 4 callersMethodget_line_until_eof
src/dinit-iostream.cc:590
↓ 4 callersMethodget_line_until_eof_nx
src/dinit-iostream.cc:603
↓ 4 callersMethodget_log_consumer
src/includes/service.h:624
↓ 4 callersMethodget_output_fd
src/igr-tests/igr.h:144
↓ 4 callersMethodhandle_exit_status
src/proc-service.cc:321
↓ 4 callersMethodis_only_ordering
Check if the dependency represents only an ordering constraint (not really a dependency)
src/includes/service.h:176
↓ 4 callersMethodis_queued
src/includes/dinit-ll.h:39
↓ 4 callersMethodmax_size
dasynq/include/dasynq/svec.h:240
↓ 4 callersFunctionmove_fd
Move an fd, if necessary, to another fd. The original destination fd will be closed. if fd is specified as -1, returns -1 immediately. Returns 0 on su
src/run-child-proc.cc:40
↓ 4 callersFunctionparse_rlimit
Parse resource limits setting (can specify both hard and soft limit).
src/includes/load-service.h:904
↓ 4 callersFunctionparse_timespec
Parse a time, specified as a decimal number of seconds (with optional fractional component after decimal point or decimal comma).
src/includes/load-service.h:802
↓ 4 callersMethodpop_front
src/includes/dinit-ll.h:76
↓ 4 callersFunctionprocess_dep_dir
Process a dependency directory - filenames contained within correspond to service names which are loaded and added as a dependency of the given type.
src/dinit-check.cc:613
↓ 4 callersMethodprocess_timer_queue
For the specified timer queue, issue expirations for all timers set to expire on or before the given time (curtime).
dasynq/include/dasynq/timerbase.h:324
↓ 4 callersFunctionread_env_file_inline
src/includes/dinit-env.h:381
↓ 4 callersMethodregister_fd
dasynq/include/dasynq.h:816
↓ 4 callersMethodreset
src/dinit.cc:186
↓ 4 callersMethodset_fd
Set the file descriptor and clear error states. Setting a new file descriptor will replace any current descriptor in the stream. The buffer must be fl
src/includes/dinit-iostream.h:175
↓ 4 callersMethodset_fd_enabled_nolock
dasynq/include/dasynq.h:924
↓ 4 callersMethodset_flags
Set "on start" flags (commands)
src/includes/service.h:594
↓ 4 callersMethodset_restart_interval
src/includes/proc-service.h:527
↓ 4 callersFunctionsetup_main_log
Set up the main log to output to the given file descriptor. Potentially throws std::bad_alloc or std::system_error
src/dinit-log.cc:311
↓ 4 callersMethodsize
dasynq/include/dasynq/daryheap.h:318
↓ 4 callersFunctionskip_ws_ln
skipws, but newlines increment an integer reference.
src/includes/load-service.h:323
↓ 4 callersFunctionstarts_with
Check if one string starts with another
src/includes/dinit-util.h:556
↓ 4 callersMethodwait
dasynq/include/dasynq.h:232
↓ 4 callersMethodwas_start_skipped
src/includes/service.h:673
↓ 4 callersMethodwatch_removed
dasynq/include/dasynq.h:2347
↓ 4 callersMethodwrite
src/tests/tests.cc:1456
↓ 3 callersMethodadd_potential_update
throws: bad_alloc
src/includes/service.h:1400
↓ 3 callersMethodadd_signal_watch
Note signal should be masked before call.
dasynq/include/dasynq/epoll.h:321
↓ 3 callersMethodadd_specified_service_dir
src/includes/options-processing.h:20
↓ 3 callersFunctionbase_name
Find the base name of a path (the name after the final '/').
src/includes/dinit-util.h:362
↓ 3 callersMethodbuild_paths
src/options-processing.cc:28
↓ 3 callersMethodcommit
src/includes/service.h:1441
↓ 3 callersFunctionconnect_to_daemon
Connect to the dinit daemon, return the connected socket fd. Throws general_error on error.
src/includes/dinit-client.h:416
↓ 3 callersMethodcurrent_resolve_dir
Get the directory to resolve file references against (from the current top-of-stack).
src/includes/file-input-stack.h:95
↓ 3 callersMethoddeallocate
Deallocate a slot
dasynq/include/dasynq/daryheap.h:242
↓ 3 callersMethoddequeue_watcher
dasynq/include/dasynq.h:1103
↓ 3 callersFunctiondinit_socket
src/includes/dinit-socket.h:24
↓ 3 callersFunctiondo_log_cons
src/dinit-log.cc:443
↓ 3 callersFunctiondo_log_main
src/dinit-log.cc:458
↓ 3 callersFunctionenable_console_log
Enable or disable console logging. If disabled, console logging will be disabled on the completion of output of the current message (if any), at which
src/dinit-log.cc:326
↓ 3 callersMethodenable_timer_nolock
dasynq/include/dasynq/timerbase.h:500
↓ 3 callersMethodeof
Check whether end-of-file ('eof_bit') is set in the stream state. Returns: The value of 'eof_bit' in the the current state.
src/includes/dinit-iostream.h:627
↓ 3 callersMethodfill
Fill buffer by reading from file descriptor. Note caller must set overflow marker if the buffer becomes full and more data is available.
src/shutdown.cc:99
↓ 3 callersMethodfill
Fill by reading from the given fd, return positive if some was read or -1 on error.
src/includes/cpbuffer.h:62
↓ 3 callersFunctionfill_status_buffer
src/control.cc:621
↓ 3 callersMethodfind
dasynq/include/dasynq/btree_set.h:553
↓ 3 callersMethodflush_nx
src/dinit-iostream.cc:195
↓ 3 callersMethodget
src/includes/load-service.h:88
↓ 3 callersFunctionget_default_socket_path
Get the default socket path (i.e. the path to use if no path is explicitly specified). 'control_socket_str' *may* be used for storage for the returned
src/includes/dinit-client.h:376
↓ 3 callersMethodget_log_mode
src/includes/proc-service.h:423
↓ 3 callersMethodget_output
src/igr-tests/igr.h:149
↓ 3 callersFunctionget_service_description_dir
Get the service description directory for a loaded service
src/dinitctl.cc:1941
↓ 3 callersMethodget_shutdown_type
src/includes/service.h:1277
↓ 3 callersMethodget_size
src/includes/cpbuffer.h:18
↓ 3 callersFunctiongetpgrp
src/tests/test-includes/baseproc-sys.h:93
↓ 3 callersFunctionhash
src/includes/dinit-util.h:727
↓ 3 callersMethodimport_parent_var
src/includes/dinit-env.h:318
↓ 3 callersMethodinit
src/dinit-log.cc:64
↓ 3 callersFunctioninit_log
Initialise the logging subsystem Potentially throws std::bad_alloc or std::system_error
src/dinit-log.cc:287
↓ 3 callersMethodinterrupt_wait
dasynq/include/dasynq/interrupt.h:121
↓ 3 callersMethodis_empty
dasynq/include/dasynq.h:323
↓ 3 callersMethodis_queued_for_console
Check whether a service is queued for the console
src/includes/service.h:1241
↓ 3 callersMethodload_service
src/load-service.cc:75
↓ 3 callersFunctionlog_level_to_syslog_level
src/dinit-log.cc:375
↓ 3 callersFunctionlog_service_load_failure
log a service load exception
src/includes/service.h:223
↓ 3 callersMethodlookup
src/includes/dinit-env.h:140
↓ 3 callersFunctionmove_reserved_fd
Move a file descriptor to another, freeing up the original descriptor so that it can be used for some reserved purpose.
src/run-child-proc.cc:55
↓ 3 callersFunctionopen_control_socket
Open/create the control socket, normally /run/dinitctl, used to allow client programs to connect and issue service orders and shutdown commands etc. T
src/dinit.cc:961
↓ 3 callersFunctionparse_uid_param
Parse a userid parameter which may be a numeric user ID or a username. If a name, the userid is looked up via the system user database (getpwnam() fun
src/includes/load-service.h:680
↓ 3 callersMethodprepare_for_unload
src/service.cc:46
↓ 3 callersMethodprocess_signal
Process a received signal Called when we have received a signal and its handler has been dispatched, at which point the handler has (a) stored the sig
dasynq/include/dasynq/signal.h:167
↓ 3 callersMethodprocess_updates
Process the queue to completion, updating depths of queued services and all dependents as necessary. Throws: std::bad_alloc, service_load_exc (max dep
src/includes/service.h:1409
↓ 3 callersMethodpull_events
If events are pending, process an unspecified number of them. If no events are pending, wait until one event is received and process this event (and p
dasynq/include/dasynq/epoll.h:384
↓ 3 callersFunctionread_string
Extract/read a string of specified length from the buffer/socket. The string is consumed from the buffer.
src/includes/dinit-client.h:470
↓ 3 callersMethodrequire
src/service.cc:175
↓ 3 callersFunctionrun_process
Run process, put its output through the subprocess buffer may throw: std::system_error, std::bad_alloc
src/shutdown.cc:702
↓ 3 callersMethodset_cap
src/includes/proc-service.h:494
↓ 3 callersMethodset_cb_func
src/dinit.cc:129
↓ 3 callersMethodset_cgroup
src/includes/proc-service.h:487
↓ 3 callersFunctionset_current_time
Set the time for a utmpx record to the current time.
src/includes/dinit-utmp.h:63
↓ 3 callersMethodset_env_file
src/includes/proc-service.h:476
↓ 3 callersMethodset_extra_termination_signal
Set an additional signal (other than SIGTERM) to be used to terminate the process
src/includes/proc-service.h:549
↓ 3 callersMethodset_ioprio
src/includes/proc-service.h:508
↓ 3 callersMethodset_log_buf_max
Set log buffer maximum size (for if mode is BUFFER). Maximum allowed size is UINT_MAX / 2 (must be checked by caller).
src/includes/proc-service.h:399
↓ 3 callersMethodset_log_consumer
src/includes/service.h:619
↓ 3 callersMethodset_log_mode
Set log mode (NONE, BUFFER, FILE, PIPE) (must not change mode when service is not STOPPED).
src/includes/proc-service.h:405
↓ 3 callersMethodset_logfile_details
src/includes/proc-service.h:388
← previousnext →201–300 of 1,514, ranked by callers