97 char *p = strchr(s,
'.');
101 char *q = strpbrk(p,
" \t");
125 for (
tKey *k = keyTable; k->
name; k++) {
126 const char *n = k->name;
127 const char *p = strchr(n,
'$');
130 if (strcasecmp(n, Name) == 0)
139 for (
tKey *k = keyTable; k->
name; k++) {
140 if (k->type == Key) {
141 const char *n = k->name;
144 const char *p = strchr(n,
'$');
161 if (strcmp(Remote, k->Remote()) == 0)
170 if (Remote && Code) {
172 if (strcmp(Remote, k->Remote()) == 0 && strcmp(Code, k->Code()) == 0)
183 if (strcmp(Remote, k->Remote()) == 0 && k->Key() ==
k_Setup)
195 esyslog(
"ERROR: called PutSetup() for %s, but setup has already been defined!", Remote);
218 while ((p = strtok_r(s,
" \t", &strtok_next)) != NULL) {
222 esyslog(
"ERROR: only one @plugin allowed per macro");
226 esyslog(
"ERROR: @plugin can't be first in macro");
239 esyslog(
"ERROR: key macro too long");
246 esyslog(
"ERROR: unknown key '%s'", p);
254 esyslog(
"ERROR: key macro too long");
259 esyslog(
"ERROR: empty key macro");
272 if (*k->Macro() == Key)