mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 09:16:21 +00:00
Added regex output matcher, presence test
This commit is contained in:
@@ -178,11 +178,17 @@ prof_input(char *input)
|
||||
}
|
||||
|
||||
int
|
||||
prof_output(char *text)
|
||||
prof_output_exact(char *text)
|
||||
{
|
||||
return (1 == exp_expectl(fd, exp_exact, text, 1, exp_end));
|
||||
}
|
||||
|
||||
int
|
||||
prof_output_regex(char *text)
|
||||
{
|
||||
return (1 == exp_expectl(fd, exp_regexp, text, 1, exp_end));
|
||||
}
|
||||
|
||||
void
|
||||
prof_connect(char *jid, char *password)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user