Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4792601
prototypes.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Referenced Files
None
Subscribers
None
prototypes.h
View Options
/* ------------ Below are function declarations --------------- */
#if STATUS == 1
void
parse_252
(
char
*
),
parse_251
(
char
*
),
parse_255
(
char
*
);
#endif
#ifndef WIN32
inline
size_t
min
(
const
size_t
,
const
size_t
);
#endif
char
*
db_strndup
(
const
char
*
,
size_t
);
char
**
tokenize
(
char
*
,
size_t
*
);
size_t
count_lines
(
char
*
);
void
show_seen
(
char
*
,
char
*
,
char
*
),
count_seen
(
char
*
,
char
*
),
show_info2
(
const
char
*
,
const
char
*
);
long
save_seen
(
char
*
,
char
*
,
char
*
);
void
do_randomtopic
(
int
,
char
*
,
char
*
,
char
*
,
char
*
);
#ifdef RANDOM_STUFF
void
do_random_stuff
(
void
),
check_idle_channels
(
void
),
get_rand_stuff_time
(
void
),
del_autotopic
(
const
char
*
),
add_randomstuff
(
char
*
,
char
*
,
char
*
),
do_autotopics
(
void
);
#endif
#ifdef RANDQ
void
do_randq
(
char
*
,
const
int
,
const
char
*
,
const
char
*
);
#endif
void
datasearch
(
const
char
*
,
char
*
,
char
*
),
display_url
(
char
*
,
char
*
,
char
*
),
set_pass
(
char
*
,
char
*
,
char
*
,
char
*
),
do_modes
(
char
*
,
char
*
),
process_nick
(
char
*
,
char
*
);
long
verify_pass
(
char
*
,
char
*
,
char
*
,
char
*
),
ifexist_autotopic
(
char
*
);
#if DO_CHANBOT_CRAP == 1
void
save_permbans
(
void
);
#endif
void
do_quit
(
const
char
*
,
long
);
#ifdef DO_MATH_STUFF
void
do_math
(
const
char
*
,
char
*
,
char
*
);
#endif
void
parse_who
(
char
*
);
void
set_autotopic
(
char
*
,
char
*
,
char
*
);
void
delete_user_ram
(
char
*
,
char
*
),
get_s
(
void
),
delete_url
(
const
char
*
,
char
*
,
char
*
),
update_setinfo
(
const
char
*
,
const
char
*
,
const
char
*
);
#if DO_CHANBOT_CRAP == 1
void
add_permban
(
const
char
*
,
size_t
,
const
char
*
);
int
del_permban
(
const
char
*
,
const
char
*
);
#endif
int
check_existing_url
(
const
char
*
,
char
*
,
char
*
);
void
show_helper_list
(
const
char
*
,
long
),
set_paths
(
void
),
show_banlist
(
const
char
*
),
chanserv
(
char
*
,
char
*
,
char
*
),
raw_now
(
char
*
),
find_url
(
const
char
*
,
char
*
,
char
*
),
save_changes
(
void
),
show_url
(
char
*
,
char
*
,
char
*
,
long
,
long
,
char
*
,
long
);
char
*
strlwr
(
char
*
),
*
rand_reply
(
const
char
*
),
*
date
(
void
),
*
get_multiword_topic
(
char
*
),
*
revert_topic
(
char
*
),
*
get_rand_nick
(
const
char
*
),
*
get_word
(
long
,
char
*
,
char
*
);
void
info
(
const
char
*
,
char
*
),
load_helpers
(
void
),
scan_chan_users
(
char
*
,
char
*
,
char
*
),
do_login
(
char
*
,
char
*
);
int
stricmp
(
const
char
*
,
const
char
*
);
long
do_lastcomm
(
char
*
,
char
*
,
char
*
),
setinfo_lastcomm
(
char
*
);
void
parse
(
char
*
),
add_helper
(
const
char
*
,
const
char
*
,
long
,
size_t
,
const
char
*
,
const
char
*
,
char
);
int
get_connection
(
const
char
*
,
const
char
*
,
int
),
readln
(
void
),
writeln
(
const
char
*
);
bool
check_permban
(
const
char
*
,
const
char
*
,
const
char
*
);
long
cf
(
char
*
,
char
*
,
char
*
),
f_f
(
char
*
),
get_passwd
(
char
*
);
time_t
return_useridle
(
const
char
*
,
const
char
*
,
int
);
void
a_f
(
char
*
),
reset_
(
void
),
delete_user
(
const
char
*
,
char
*
),
add_user
(
char
*
,
char
*
,
char
*
,
long
);
void
set_fds
(
void
),
sig_hup
(
int
),
sig_segv
(
int
),
save_setup
(
void
);
void
stripline
(
char
*
),
init_bot
(
void
),
sig_alrm
(
int
);
void
parse_server_msg
(
fd_set
*
);
void
trailing_blanks
(
char
*
),
log
(
const
char
*
,
const
char
*
,
...),
gs26
(
void
),
add_s25
(
char
*
,
long
),
add_banned_server
(
char
*
,
char
*
),
S
(
const
char
*
,...),
del_sendq
(
long
),
clear_sendq
(
long
,
long
);
char
L
[
524
],
*
random_word
(
char
**
);
char
*
db_stristr
(
char
*
,
char
*
);
int
socketfd
,
alarmed
,
check_access
(
char
*
,
char
*
,
int
,
char
*
),
match_wild
(
const
char
*
,
const
char
*
),
Send
(
void
),
get_sendq_count
(
long
);
void
check_dbtimers
(
void
);
void
register_bot
(
void
);
void
prepare_bot
(
void
);
int
create_connection
(
char
*
,
char
*
,
long
);
int
Snow
(
const
char
*
,
...);
void
show_chaninfo
(
const
char
*
,
const
char
*
,
const
char
*
);
void
show_chanusers
(
const
char
*
,
const
char
*
);
const
char
*
run_program
(
const
char
*
);
#if SNPRINTF_SUPPORT == 1
int
snprintf
(
char
*
,
size_t
,
const
char
*
,
...);
#endif
void
do_autotopics
(
void
);
void
do_randomtopic2
(
int
,
char
*
,
char
*
);
void
add_stats
(
char
*
,
char
*
,
long
,
long
,
long
);
void
load_stats
(
void
);
void
get_stats
(
char
*
,
char
*
);
void
run_quiz_question
(
char
*
);
void
run_quiz_answer
(
void
);
void
check_files
(
void
);
char
*
crypt
(
const
char
*
,
const
char
*
);
void
run_perform
(
void
);
void
init_sockaddr
(
struct
sockaddr_in
*
,
char
*
,
unsigned
short
int
);
int
web_post_query
(
char
*
trigger
,
char
*
source
,
char
*
uh
,
char
*
target
,
char
*
query
,
int
size
);
int
web_open_socket
(
char
*
host
,
int
port
);
int
web_write_server
(
int
filedes
,
char
*
format
,...);
int
web_read_server
(
char
*
source
,
char
*
uh
,
char
*
target
,
int
filedes
,
char
*
host
);
int
google_parse_query
(
char
*
source
,
char
*
uh
,
char
*
target
,
char
*
data
);
int
metar_parse_query
(
char
*
source
,
char
*
uh
,
char
*
target
,
char
*
data
);
int
taf_parse_query
(
char
*
source
,
char
*
uh
,
char
*
target
,
char
*
data
);
int
add_ignore_user_ram
(
char
*
);
int
delete_ignore_user_ram
(
char
*
);
int
check_ignore_user_ram
(
char
*
);
void
call_reserved_1
(
char
*
,
char
*
,
char
*
);
void
call_reserved_2
(
char
*
,
char
*
,
char
*
);
size_t
count_char
(
const
char
*
,
const
char
);
void
reverse
(
char
*
);
char
*
mask_from_nick
(
char
*
,
const
char
*
);
char
*
uh_from_nick
(
char
*
,
const
char
*
);
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Feb 28, 20:14 (4 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2435583
Default Alt Text
prototypes.h (5 KB)
Attached To
Mode
rDARKBOT Darkbot
Attached
Detach File
Event Timeline
Log In to Comment