|
version 1.1, 2012/02/21 23:32:47
|
version 1.1.1.2, 2021/03/17 00:39:23
|
|
Line 203 RepGetHook(Link l, char *path, char *hook)
|
Line 203 RepGetHook(Link l, char *path, char *hook)
|
| */ |
*/ |
| |
|
| int |
int |
| RepCommand(Context ctx, int ac, char *av[], void *arg) | RepCommand(Context ctx, int ac, const char *const av[], const void *arg) |
| { |
{ |
| Rep r; |
Rep r; |
| int k; |
int k; |
| |
|
| |
(void)arg; |
| |
|
| if (ac > 1) |
if (ac > 1) |
| return (-1); |
return (-1); |
| |
|
|
Line 327 RepShutdown(Rep r)
|
Line 329 RepShutdown(Rep r)
|
| */ |
*/ |
| |
|
| int |
int |
| RepStat(Context ctx, int ac, char *av[], void *arg) | RepStat(Context ctx, int ac, const char *const av[], const void *arg) |
| { |
{ |
| Rep r; |
Rep r; |
| |
|
| |
(void)arg; |
| |
|
| /* Find repeater they're talking about */ |
/* Find repeater they're talking about */ |
| switch (ac) { |
switch (ac) { |
| case 0: |
case 0: |
|
Line 377 RepShowLinks(Context ctx, Rep r)
|
Line 381 RepShowLinks(Context ctx, Rep r)
|
| */ |
*/ |
| |
|
| Rep |
Rep |
| RepFind(char *name) | RepFind(const char *name) |
| { |
{ |
| int k; |
int k; |
| |
|