Lines Matching refs:CCreply

83 static struct buffer CCreply;  variable
184 buffer_sprintf(&CCreply, "STATUS=Server "); in CCsdnotify()
189 buffer_append_sprintf(&CCreply, "Unknown %d", Mode); in CCsdnotify()
192 buffer_append_sprintf(&CCreply, "running"); in CCsdnotify()
195 buffer_append_sprintf(&CCreply, "paused %s", ModeReason); in CCsdnotify()
198 buffer_append_sprintf(&CCreply, "throttled %s", ModeReason); in CCsdnotify()
202 buffer_append_sprintf(&CCreply, ". Rejecting %s", RejectReason); in CCsdnotify()
205 buffer_append_sprintf(&CCreply, ". Readers "); in CCsdnotify()
207 buffer_append_sprintf(&CCreply, "independent "); in CCsdnotify()
209 buffer_append_sprintf(&CCreply, "follow "); in CCsdnotify()
211 buffer_append_sprintf(&CCreply, "enabled."); in CCsdnotify()
213 buffer_append_sprintf(&CCreply, "disabled %s.", NNRPReason); in CCsdnotify()
215 buffer_append(&CCreply, "", 1); in CCsdnotify()
216 status = sd_notify(false, CCreply.data); in CCsdnotify()
552 buffer_sprintf(&CCreply, "1 Found %d error(s) -- see syslog", errors); in CCcheckfile()
553 return CCreply.data; in CCcheckfile()
598 buffer_set(&CCreply, "0 ", 2); in CCfeedinfo()
604 SITEinfo(&CCreply, sp, true); in CCfeedinfo()
606 SITEinfo(&CCreply, sp, true); in CCfeedinfo()
610 SITEinfo(&CCreply, sp, false); in CCfeedinfo()
612 buffer_append(&CCreply, "", 1); in CCfeedinfo()
613 return CCreply.data; in CCfeedinfo()
787 snprintf(CCreply.data, CCreply.size, "1 Can't close %s", p); in CChangup()
788 return CCreply.data; in CChangup()
881 buffer_sprintf(&CCreply, "0 Server "); in CCmode()
886 buffer_append_sprintf(&CCreply, "Unknown %d\n", Mode); in CCmode()
889 buffer_append_sprintf(&CCreply, "running\n"); in CCmode()
892 buffer_append_sprintf(&CCreply, "paused %s\n", ModeReason); in CCmode()
895 buffer_append_sprintf(&CCreply, "throttled %s\n", ModeReason); in CCmode()
899 buffer_append_sprintf(&CCreply, "Rejecting %s\n", RejectReason); in CCmode()
901 buffer_append_sprintf(&CCreply, "Allowing remote connections\n"); in CCmode()
906 buffer_append_sprintf(&CCreply, in CCmode()
918 buffer_append_sprintf(&CCreply, "Reserved %s\n", Reservation); in CCmode()
920 buffer_append_sprintf(&CCreply, "Not reserved\n"); in CCmode()
923 buffer_append_sprintf(&CCreply, "Readers "); in CCmode()
925 buffer_append_sprintf(&CCreply, "independent "); in CCmode()
927 buffer_append_sprintf(&CCreply, "follow "); in CCmode()
929 buffer_append_sprintf(&CCreply, "enabled"); in CCmode()
931 buffer_append_sprintf(&CCreply, "disabled %s", NNRPReason); in CCmode()
934 buffer_append_sprintf(&CCreply, "\nPerl filtering "); in CCmode()
936 buffer_append_sprintf(&CCreply, "enabled"); in CCmode()
938 buffer_append_sprintf(&CCreply, "disabled"); in CCmode()
941 buffer_append_sprintf(&CCreply, "\nPerl filter stats: %s", stats); in CCmode()
947 buffer_append_sprintf(&CCreply, "\nPython filtering "); in CCmode()
949 buffer_append_sprintf(&CCreply, "enabled"); in CCmode()
951 buffer_append_sprintf(&CCreply, "disabled"); in CCmode()
954 buffer_append(&CCreply, "", 1); in CCmode()
955 return CCreply.data; in CCmode()
991 buffer_sprintf(&CCreply, "0 %s", CHANname(cp)); in CCname()
992 return CCreply.data; in CCname()
994 buffer_set(&CCreply, "0 ", 2); in CCname()
999 buffer_append(&CCreply, "\n", 1); in CCname()
1000 buffer_append_sprintf(&CCreply, "%s", CHANname(cp)); in CCname()
1003 buffer_append_sprintf(&CCreply, ":remconn::"); in CCname()
1006 buffer_append_sprintf(&CCreply, ":reject::"); in CCname()
1010 buffer_append_sprintf(&CCreply, ":%s:%ld:%s", in CCname()
1015 buffer_append_sprintf(&CCreply, ":localconn::"); in CCname()
1018 buffer_append_sprintf(&CCreply, ":control::"); in CCname()
1021 buffer_append_sprintf(&CCreply, "::"); in CCname()
1024 buffer_append_sprintf(&CCreply, ":exploder::"); in CCname()
1027 buffer_append_sprintf(&CCreply, ":"); in CCname()
1030 buffer_append_sprintf(&CCreply, ":unknown::"); in CCname()
1034 buffer_append(&CCreply, "", 1); in CCname()
1035 return CCreply.data; in CCname()
1233 snprintf(CCreply.data, CCreply.size, "1 Reserved \"%s\"", in CCblock()
1235 return CCreply.data; in CCblock()
1699 buffer_sprintf(&CCreply, "1 Can't signal process %ld: %s", in CCsignal()
1701 return CCreply.data; in CCsignal()
2143 buffer_resize(&CCreply, SMBUF); in CCsetup()
2169 free(CCreply.data); in CCclose()
2170 CCreply.data = NULL; in CCclose()
2171 CCreply.size = 0; in CCclose()
2172 CCreply.used = 0; in CCclose()
2173 CCreply.left = 0; in CCclose()