Macros§
- debug
log - Constructs an event at the debug level.
- error
log - Constructs an event at the error level.
- info
log - Constructs an event at the info level.
- trace
log - Constructs an event at the trace level.
- warn
log - Constructs an event at the warn level.
Structs§
- CmdResult
cmd - Dism
Custom Property dismand Windows - Dism
Feature Info dismand Windows - IpAddress
net - IpV4
Address net - LFMap
net - Lock-Free Map
- RawDism
Custom Property dismand Windows - RawDism
Feature Info dismand Windows
Enums§
- CLog
Level log - Dism
LogLevel dismand Windows - Dism
Package Feature State dismand Windows - Dism
Package Identifier dismand Windows - Dism
Restart Type dismand Windows - Serv
Status winapiand Windows - service status
Statics§
- DISM_
ONLINE_ IMAGE dismand Windows
Functions§
- Dism
Close Session dismand Windows - Dism
Delete dismand Windows - Dism
Enable Feature dismand Windows - Dism
GetFeature Info dismand Windows - Dism
GetLast Error Message dismand Windows - Dism
Initialize dismand Windows - Dism
Open Session dismand Windows - Dism
Shutdown dismand Windows - base64_
decode crypto - decode data with base64
- base64_
encode crypto - encode data with base64
- block_
download_ file net - send get request save to file
- block_
download_ json net - send get request to get content as json
- block_
download_ string net - send get request to get content as string
- bzip2_
cmpr dc - compress data with bzip2
- bzip2_
decmpr dc - decompress data with bzip2
- clap_
help_ styles cmd - config the style of clap lib help info
- copy_
file - copy a file to new position
- cpu_
is_ enable_ virtual x86-64 and Windows - current_
is_ admin winapiand Windows - default_
console_ log log - only log to console
- default_
file_ log log - only log to file
- default_
log log - log to console and file
- dir_
is_ exist - judge whether a file is exists
- download_
file net - send get request save to file
- download_
json net - send get request to get content as json
- download_
string net - send get request to get content as string
- enable_
virtual_ terminal winapiand Windows - allow cmd show color and so on…
- ensure_
file_ exist - ensure a file exist,if not exist,create it!
- exec
cmd - exec a command and get the result,if get the command’s exit code failed, default to -1
- file_
ext - get extension name of a file
- file_
is_ exist - judge whether a file is exists
- file_
name - get file name of a path
- file_
size - get file size
- frame_
stream_ combined net - combined sender/receiver frame stream to TcoStream.
- frame_
stream_ split net - split a Tcpstream to sender/receiver frame stream.
- get_
process_ id_ by_ name winapiand Windows - get process id by process name on windows
- list_
ip_ address net - get all ip address
- list_
ipv4 net - get all ipv4 address
- md5
crypto - get md5 of data
- move_
file - copy a file to new position
- msi_
get_ version winapiand Windows - get the installed msi package version
- msi_
install winapiand Windows - install msi package
- proxy_
tcpstream net - Copy data mutually between two Tcpstreams.
- runas
winapiand Windows - run the program with administrator privileges
- sc_
query winapiand Windows - query system service status
- sha256
crypto - get sha256 of data
Type Aliases§
- Dism
Session dismand Windows - Frame
Receiver net - Frame
Sender net