Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amyreese/znc-push
/ functions
Functions
42 in github.com/amyreese/znc-push
⨍
Functions
42
◇
Types & classes
3
↓ 9 callers
Method
PutDebug
* Debugging messages. Prints to *push when the debug option is enabled. * * @param data Debug message */
push.cpp:182
↓ 4 callers
Function
network_blacklist
* Check if the network_blacklist condition is met. * * @param network Network that the message was received on * @return True if network is n
push.cpp:1125
↓ 4 callers
Function
replied
* Check if the replied condition is met. * * @param context Channel or nick context * @return True if last_reply_time > last_notification_tim
push.cpp:1149
↓ 3 callers
Function
client_count_less_than
* Check if the client_count condition is met. * * @return True if client_count is less than client_count_less_than or if client_count_less_than
push.cpp:941
↓ 3 callers
Function
idle
* Check if the idle condition is met. * * @return True if idle is less than or equal to zero or elapsed time is greater than idle */
push.cpp:1046
↓ 3 callers
Function
last_active
* Check if the last_active condition is met. * * @param context Channel or nick context * @return True if last_active is less than or equal t
push.cpp:1059
↓ 3 callers
Function
last_notification
* Check if the last_notification condition is met. * * @param context Channel or nick context * @return True if last_notification is less tha
push.cpp:1074
↓ 3 callers
Function
nick_blacklist
* Check if the nick_blacklist condition is met. * * @param nick Nick that sent the message * @return True if nick is not in the blacklist
push.cpp:1089
↓ 3 callers
Function
notify_channel
* Determine when to notify the user of a channel message. * * @param nick Nick that sent the message * @param channel Channel the message was
push.cpp:1165
↓ 3 callers
Function
notify_pm
* Determine when to notify the user of a private message. * * @param nick Nick that sent the message * @return Notification should be sent
push.cpp:1194
↓ 2 callers
Method
Request
* Send an HTTP request. * * @param post POST command * @param host Host domain * @param url Resource path * @param parameters Query parameters *
push.cpp:2039
↓ 2 callers
Function
build_query_string
* Build a query string from a dictionary of request parameters. * * @param params Request parameters * @return query string */
push.cpp:1924
↓ 2 callers
Function
client_count
* Check how many clients are connected to ZNC. * * @return Number of connected clients */
push.cpp:931
↓ 2 callers
Function
context_filter
* Determine if the given context matches any context rules. * * @param context The context of a message * @return True if context matches the
push.cpp:1004
↓ 2 callers
Function
highlight
* Determine if the given message matches any highlight rules. * * @param message Message contents * @return True if message matches a highlig
push.cpp:953
↓ 2 callers
Function
make_curl_request
* Send an HTTP request using libcurl. * * @param service_host Host domain * @param service_url Host path * @param service_auth Basic auth string
push.cpp:1961
↓ 2 callers
Function
urlencode
* Shorthand for encoding a string for a URL. * * @param str String to be encoded * @return Encoded string */
push.cpp:40
Method
CPushSocket
push.cpp:52
Method
Disconnected
push.cpp:2104
Method
MODCONSTRUCTOR
push.cpp:117
Function
OnChanAction
* Handle channel actions. * * @param nick Nick that sent the action * @param channel Channel the message was sent to * @param message Mess
push.cpp:1267
Function
OnChanMsg
push.cpp:1248
Function
OnChanNotice
* Handle channel notices. * * @param nick Nick that sent the notice * @param channel Channel the notice was sent to * @param message Notic
push.cpp:1286
Function
OnModCommand
* Handle direct commands to the *push virtual user. * * @param command Command string */
push.cpp:1440
Function
OnPrivAction
* Handle a private action. * * @param nick Nick that sent the action * @param message Message contents */
push.cpp:1322
Function
OnPrivMsg
* Handle a private message. * * @param nick Nick that sent the message * @param message Message contents */
push.cpp:1304
Function
OnPrivNotice
* Handle a private notice. * * @param nick Nick that sent the notice * @param message Notice contents */
push.cpp:1340
Function
OnUserAction
* Handle an action sent by the user. * * @param target Target channel or nick * @param message Message contents */
push.cpp:1370
Function
OnUserJoin
* Handle the user joining a channel. * * @param channel Channel name * @param key Channel key */
push.cpp:1394
Function
OnUserMsg
* Handle a message sent by the user. * * @param target Target channel or nick * @param message Message contents */
push.cpp:1358
Function
OnUserNotice
* Handle a notice sent by the user. * * @param target Target channel or nick * @param message Notice contents */
push.cpp:1382
Function
OnUserPart
* Handle the user parting a channel. * * @param channel Channel name * @param message Part message */
push.cpp:1406
Function
OnUserTopic
* Handle the user setting the channel topic. * * @param channel Channel name * @param topic Topic message */
push.cpp:1418
Function
OnUserTopicRequest
* Handle the user requesting the channel topic. * * @param channel Channel name */
push.cpp:1429
Method
ReadLine
* Read each line of data returned from the HTTP request. */
push.cpp:2087
Function
TModInfo<CPushMod>
push.cpp:2111
Method
eval
* Evaluate a boolean expression using condition values. * All tokens must be separated by spaces, using "and" and "or" for * boolean operators,
push.cpp:802
Method
eval_tokens
* Evaluate a tokenized boolean expression, or sub-expression. * * @param pos Token vector iterator current position * @param end Token vector
push.cpp:832
Method
expand
* Performs string expansion on a set of keywords. * Given an initial string and a dictionary of string replacments, * iterate over the dictionar
push.cpp:201
Method
is_number
* Verifies whether a given string contains only numbers. * * @param content String to verify */
push.cpp:218
Method
send_message
* Send a message to the currently-configured push service. * Requires (and assumes) that the user has already configured their * username and AP
push.cpp:234
Method
~CPushMod
push.cpp:169