| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779 |
- /*
- * flags.c -- handles:
- * all the flag matching/conversion functions in one neat package :)
- *
- */
- #include "main.h"
- extern int use_console_r, debug_output, noshare,
- allow_dk_cmds;
- extern struct dcc_t *dcc;
- int use_console_r = 1; /* Allow users to set their console +r */
- int logmodes(char *s)
- {
- int i;
- int res = 0;
- for (i = 0; i < strlen(s); i++)
- switch (s[i]) {
- case 'm':
- case 'M':
- res |= LOG_MSGS;
- break;
- case 'p':
- case 'P':
- res |= LOG_PUBLIC;
- break;
- case 'j':
- case 'J':
- res |= LOG_JOIN;
- break;
- case 'k':
- case 'K':
- res |= LOG_MODES;
- break;
- case 'c':
- case 'C':
- res |= LOG_CMDS;
- break;
- case 'o':
- case 'O':
- res |= LOG_MISC;
- break;
- case 'b':
- case 'B':
- res |= LOG_BOTS;
- break;
- case 'r':
- case 'R':
- res |= use_console_r ? LOG_RAW : 0;
- break;
- case 'w':
- case 'W':
- res |= LOG_WALL;
- break;
- case 'x':
- case 'X':
- res |= LOG_FILES;
- break;
- case 's':
- case 'S':
- res |= LOG_SERV;
- break;
- case 'd':
- case 'D':
- res |= LOG_DEBUG;
- break;
- case 'v':
- case 'V':
- res |= debug_output ? LOG_SRVOUT : 0;
- break;
- case 't':
- case 'T':
- res |= debug_output ? LOG_BOTNET : 0;
- break;
- case 'h':
- case 'H':
- res |= debug_output ? LOG_BOTSHARE : 0;
- break;
- case 'e':
- case 'E':
- res |= LOG_ERRORS;
- break;
- case 'g':
- case 'G':
- res |= LOG_GETIN;
- break;
- case 'u':
- case 'U':
- res |= LOG_WARN;
- break;
- case '*':
- res |= LOG_ALL;
- break;
- }
- return res;
- }
- char *masktype(int x)
- {
- static char s[24]; /* Change this if you change the levels */
- char *p = s;
- if (x & LOG_MSGS)
- *p++ = 'm';
- if (x & LOG_PUBLIC)
- *p++ = 'p';
- if (x & LOG_JOIN)
- *p++ = 'j';
- if (x & LOG_MODES)
- *p++ = 'k';
- if (x & LOG_CMDS)
- *p++ = 'c';
- if (x & LOG_MISC)
- *p++ = 'o';
- if (x & LOG_BOTS)
- *p++ = 'b';
- if ((x & LOG_RAW) && use_console_r)
- *p++ = 'r';
- if (x & LOG_FILES)
- *p++ = 'x';
- if (x & LOG_SERV)
- *p++ = 's';
- if (x & LOG_DEBUG)
- *p++ = 'd';
- if (x & LOG_WALL)
- *p++ = 'w';
- if ((x & LOG_SRVOUT) && debug_output)
- *p++ = 'v';
- if ((x & LOG_BOTNET) && debug_output)
- *p++ = 't';
- if ((x & LOG_BOTSHARE) && debug_output)
- *p++ = 'h';
- if (x & LOG_ERRORS)
- *p++ = 'e';
- if (x & LOG_GETIN)
- *p++ = 'g';
- if (x & LOG_WARN)
- *p++ = 'u';
- if (p == s)
- *p++ = '-';
- *p = 0;
- return s;
- }
- char *maskname(int x)
- {
- static char s[207]; /* Change this if you change the levels */
- int i = 0;
- s[0] = 0;
- if (x & LOG_MSGS)
- i += my_strcpy(s, "msgs, ");
- if (x & LOG_PUBLIC)
- i += my_strcpy(s + i, "public, ");
- if (x & LOG_JOIN)
- i += my_strcpy(s + i, "joins, ");
- if (x & LOG_MODES)
- i += my_strcpy(s + i, "kicks/modes, ");
- if (x & LOG_CMDS)
- i += my_strcpy(s + i, "cmds, ");
- if (x & LOG_MISC)
- i += my_strcpy(s + i, "misc, ");
- if (x & LOG_BOTS)
- i += my_strcpy(s + i, "bots, ");
- if ((x & LOG_RAW) && use_console_r)
- i += my_strcpy(s + i, "raw, ");
- if (x & LOG_FILES)
- i += my_strcpy(s + i, "files, ");
- if (x & LOG_SERV)
- i += my_strcpy(s + i, "server, ");
- if (x & LOG_DEBUG)
- i += my_strcpy(s + i, "debug, ");
- if (x & LOG_WALL)
- i += my_strcpy(s + i, "wallops, ");
- if ((x & LOG_SRVOUT) && debug_output)
- i += my_strcpy(s + i, "server output, ");
- if ((x & LOG_BOTNET) && debug_output)
- i += my_strcpy(s + i, "botnet traffic, ");
- if ((x & LOG_BOTSHARE) && debug_output)
- i += my_strcpy(s + i, "share traffic, ");
- if (x & LOG_ERRORS)
- i += my_strcpy(s + i, "errors, ");
- if (x & LOG_GETIN)
- i += my_strcpy(s + i, "getin, ");
- if (x & LOG_WARN)
- i += my_strcpy(s + i, "warnings, ");
- if (i)
- s[i - 2] = 0;
- else
- strcpy(s, "none");
- return s;
- }
- /* Some flags are mutually exclusive -- this roots them out
- */
- int sanity_check(int atr)
- {
- /* bots shouldnt have +pmcnaijlys */
- if ((atr & USER_BOT) &&
- (atr & (USER_PARTY | USER_MASTER | USER_OWNER | USER_ADMIN | USER_HUBA | USER_CHUBA)))
- atr &= ~(USER_PARTY | USER_MASTER | USER_OWNER | USER_ADMIN | USER_HUBA | USER_CHUBA);
- // only bots should be there:
- if (!(atr & USER_BOT) &&
- (atr & (USER_DOLIMIT | USER_DOVOICE | USER_UPDATEHUB | USER_CHANHUB)))
- atr &= ~(USER_DOLIMIT | USER_DOVOICE | USER_UPDATEHUB | USER_CHANHUB);
- if ((atr & USER_OP) && (atr & USER_DEOP))
- atr &= ~(USER_OP | USER_DEOP);
- if ((atr & USER_VOICE) && (atr & USER_QUIET))
- atr &= ~(USER_VOICE | USER_QUIET);
-
- /* Can't be admin without also being owner and having hub access */
- if (atr & USER_ADMIN)
- atr |= USER_OWNER | USER_HUBA | USER_PARTY;
- /* Hub access gets chanhub access */
- if (atr & USER_HUBA)
- atr |= USER_CHUBA;
- if (atr & USER_OWNER) {
- atr |= USER_MASTER;
- }
- /* Master implies botmaster, op */
- if (atr & USER_MASTER)
- atr |= USER_OP | USER_CHUBA;
- /* Can't be botnet master without party-line access */
- /* if (atr & USER_BOTMAST)
- atr |= USER_PARTY;
- */
- return atr;
- }
- /* Sanity check on channel attributes
- */
- int chan_sanity_check(int chatr, int atr)
- {
- /* admin for chan does shit.. */
- if (chatr & USER_ADMIN)
- chatr &= ~(USER_ADMIN);
- if ((chatr & USER_OP) && (chatr & USER_DEOP))
- chatr &= ~(USER_OP | USER_DEOP);
- if ((chatr & USER_VOICE) && (chatr & USER_QUIET))
- chatr &= ~(USER_VOICE | USER_QUIET);
- /* Can't be channel owner without also being channel master */
- if (chatr & USER_OWNER)
- chatr |= USER_MASTER;
- /* Master implies op */
- if (chatr & USER_MASTER)
- chatr |= USER_OP ;
- /* Can't be +s on chan unless you're a bot */
- if (!(atr & USER_BOT))
- chatr &= ~BOT_SHARE;
- return chatr;
- }
- /* Get icon symbol for a user (depending on access level)
- *
- * (*) owner on any channel
- * (+) master on any channel
- * (%) botnet master
- * (@) op on any channel
- * (-) other
- */
- char geticon(int idx)
- {
- struct flag_record fr = {FR_GLOBAL | FR_CHAN | FR_ANYWH, 0, 0, 0, 0, 0};
- if (!dcc[idx].user)
- return '-';
- get_user_flagrec(dcc[idx].user, &fr, 0);
- if (glob_admin(fr))
- return '^';
- if (chan_owner(fr))
- return '*';
- if (chan_master(fr))
- return '+';
- if (chan_op(fr))
- return '@';
- return '-';
- }
- void break_down_flags(const char *string, struct flag_record *plus,
- struct flag_record *minus)
- {
- struct flag_record *which = plus;
- int mode = 0; /* 0 = glob, 1 = chan, 2 = bot */
- int flags = plus->match;
- if (!(flags & FR_GLOBAL)) {
- if (flags & FR_BOT)
- mode = 2;
- else if (flags & FR_CHAN)
- mode = 1;
- else
- return; /* We dont actually want any..huh? */
- }
- egg_bzero(plus, sizeof(struct flag_record));
- if (minus)
- egg_bzero(minus, sizeof(struct flag_record));
- plus->match = FR_OR; /* Default binding type OR */
- while (*string) {
- switch (*string) {
- case '+':
- which = plus;
- break;
- case '-':
- which = minus ? minus : plus;
- break;
- case '|':
- case '&':
- if (!mode) {
- if (*string == '|')
- plus->match = FR_OR;
- else
- plus->match = FR_AND;
- }
- which = plus;
- mode++;
- if ((mode == 2) && !(flags & (FR_CHAN | FR_BOT)))
- string = "";
- else if (mode == 3)
- mode = 1;
- break;
- default:
- if ((*string >= 'a') && (*string <= 'z')) {
- switch (mode) {
- case 0:
- which->global |=1 << (*string - 'a');
- break;
- case 1:
- which->chan |= 1 << (*string - 'a');
- break;
- case 2:
- which->bot |= 1 << (*string - 'a');
- }
- } else if ((*string >= 'A') && (*string <= 'Z')) {
- switch (mode) {
- case 0:
- which->udef_global |= 1 << (*string - 'A');
- break;
- case 1:
- which->udef_chan |= 1 << (*string - 'A');
- break;
- }
- } else if ((*string >= '0') && (*string <= '9')) {
- switch (mode) {
- /* Map 0->9 to A->K for glob/chan so they are not lost */
- case 0:
- which->udef_global |= 1 << (*string - '0');
- break;
- case 1:
- which->udef_chan |= 1 << (*string - '0');
- break;
- case 2:
- which->bot |= BOT_FLAG0 << (*string - '0');
- break;
- }
- }
- }
- string++;
- }
- for (which = plus; which; which = (which == plus ? minus : 0)) {
- which->global &=USER_VALID;
- which->udef_global &= 0x03ffffff;
- which->chan &= CHAN_VALID;
- which->udef_chan &= 0x03ffffff;
- which->bot &= BOT_VALID;
- }
- plus->match |= flags;
- if (minus) {
- minus->match |= flags;
- if (!(plus->match & (FR_AND | FR_OR)))
- plus->match |= FR_OR;
- }
- }
- static int flag2str(char *string, int bot, int udef)
- {
- char x = 'a', *old = string;
- while (bot && (x <= 'z')) {
- if (bot & 1)
- *string++ = x;
- x++;
- bot = bot >> 1;
- }
- x = 'A';
- while (udef && (x <= 'Z')) {
- if (udef & 1)
- *string++ = x;
- udef = udef >> 1;
- x++;
- }
- if (string == old)
- *string++ = '-';
- return string - old;
- }
- static int bot2str(char *string, int bot)
- {
- char x = 'a', *old = string;
- while (x < 'v') {
- if (bot & 1)
- *string++ = x;
- x++;
- bot >>= 1;
- }
- x = '0';
- while (x <= '9') {
- if (bot & 1)
- *string++ = x;
- x++;
- bot >>= 1;
- }
- return string - old;
- }
- int build_flags(char *string, struct flag_record *plus,
- struct flag_record *minus)
- {
- char *old = string;
- if (plus->match & FR_GLOBAL) {
- if (minus && (plus->global || plus->udef_global))
- *string++ = '+';
- string += flag2str(string, plus->global, plus->udef_global);
- if (minus && (minus->global || minus->udef_global)) {
- *string++ = '-';
- string += flag2str(string, minus->global, minus->udef_global);
- }
- } else if (plus->match & FR_BOT) {
- if (minus && plus->bot)
- *string++ = '+';
- string += bot2str(string, plus->bot);
- if (minus && minus->bot) {
- *string++ = '-';
- string += bot2str(string, minus->bot);
- }
- }
- if (plus->match & FR_CHAN) {
- if (plus->match & (FR_GLOBAL | FR_BOT))
- *string++ = (plus->match & FR_AND) ? '&' : '|';
- if (minus && (plus->chan || plus->udef_chan))
- *string++ = '+';
- string += flag2str(string, plus->chan, plus->udef_chan);
- if (minus && (minus->chan || minus->udef_chan)) {
- *string++ = '-';
- string += flag2str(string, minus->global, minus->udef_chan);
- }
- }
- if ((plus->match & (FR_BOT | FR_CHAN)) == (FR_BOT | FR_CHAN)) {
- *string++ = (plus->match & FR_AND) ? '&' : '|';
- if (minus && plus->bot)
- *string++ = '+';
- string += bot2str(string, plus->bot);
- if (minus && minus->bot) {
- *string++ = '-';
- string += bot2str(string, minus->bot);
- }
- }
- if (string == old) {
- *string++ = '-';
- *string = 0;
- return 0;
- }
- *string = 0;
- return string - old;
- }
- int flagrec_ok(struct flag_record *req,
- struct flag_record *have)
- {
- if (req->match & FR_AND) {
- return flagrec_eq(req, have);
- } else if (req->match & FR_OR) {
- int hav = have->global;
- /* Exception 1 - global +d/+k cant use -|-, unless they are +p */
- if (!req->chan && !req->global && !req->udef_global &&
- !req->udef_chan) {
- if (!allow_dk_cmds) {
- if (glob_party(*have))
- return 1;
- if (glob_kick(*have) || chan_kick(*have))
- return 0; /* +k cant use -|- commands */
- if (glob_deop(*have) || chan_deop(*have))
- return 0; /* neither can +d's */
- }
- return 1;
- }
- /* The +n/+m checks arent needed anymore since +n/+m
- * automatically add lower flags
- */
- /* if (!1 && ((hav & USER_OP) || (have->chan & USER_OWNER)))
- hav |= USER_PARTY;*/
- if (hav & req->global)
- return 1;
- if (have->chan & req->chan)
- return 1;
- if (have->udef_global & req->udef_global)
- return 1;
- if (have->udef_chan & req->udef_chan)
- return 1;
- return 0;
- }
- return 0; /* fr0k3 binding, dont pass it */
- }
- int flagrec_eq(struct flag_record *req, struct flag_record *have)
- {
- if (req->match & FR_AND) {
- if (req->match & FR_GLOBAL) {
- if ((req->global &have->global) !=req->global)
- return 0;
- if ((req->udef_global & have->udef_global) != req->udef_global)
- return 0;
- }
- if (req->match & FR_BOT)
- if ((req->bot & have->bot) != req->bot)
- return 0;
- if (req->match & FR_CHAN) {
- if ((req->chan & have->chan) != req->chan)
- return 0;
- if ((req->udef_chan & have->udef_chan) != req->udef_chan)
- return 0;
- }
- return 1;
- } else if (req->match & FR_OR) {
- if (!req->chan && !req->global && !req->udef_chan &&
- !req->udef_global && !req->bot)
- return 1;
- if (req->match & FR_GLOBAL) {
- if (have->global &req->global)
- return 1;
- if (have->udef_global & req->udef_global)
- return 1;
- }
- if (req->match & FR_BOT)
- if (have->bot & req->bot)
- return 1;
- if (req->match & FR_CHAN) {
- if (have->chan & req->chan)
- return 1;
- if (have->udef_chan & req->udef_chan)
- return 1;
- }
- return 0;
- }
- return 0; /* fr0k3 binding, dont pass it */
- }
- void set_user_flagrec(struct userrec *u, struct flag_record *fr,
- const char *chname)
- {
- struct chanuserrec *cr = NULL;
- int oldflags = fr->match;
- char buffer[100];
- struct chanset_t *ch;
- if (!u)
- return;
- if (oldflags & FR_GLOBAL) {
- u->flags = fr->global;
- u->flags_udef = fr->udef_global;
- if (!noshare && !(u->flags & USER_UNSHARED)) {
- fr->match = FR_GLOBAL;
- build_flags(buffer, fr, NULL);
- shareout(NULL, "a %s %s\n", u->handle, buffer);
- }
- }
- if ((oldflags & FR_BOT) && (u->flags & USER_BOT))
- set_user(&USERENTRY_BOTFL, u, (void *) fr->bot);
- /* Don't share bot attrs */
- if ((oldflags & FR_CHAN) && chname) {
- for (cr = u->chanrec; cr; cr = cr->next)
- if (!rfc_casecmp(chname, cr->channel))
- break;
- ch = findchan_by_dname(chname);
- if (!cr && ch) {
- cr = user_malloc(sizeof(struct chanuserrec));
- egg_bzero(cr, sizeof(struct chanuserrec));
- cr->next = u->chanrec;
- u->chanrec = cr;
- strncpyz(cr->channel, chname, sizeof cr->channel);
- }
- if (cr && ch) {
- cr->flags = fr->chan;
- cr->flags_udef = fr->udef_chan;
- if (!noshare && !(u->flags & USER_UNSHARED) && channel_shared(ch)) {
- fr->match = FR_CHAN;
- build_flags(buffer, fr, NULL);
- shareout(ch, "a %s %s %s\n", u->handle, buffer, chname);
- }
- }
- }
- fr->match = oldflags;
- }
- /* Always pass the dname (display name) to this function for chname <cybah>
- */
- void get_user_flagrec(struct userrec *u, struct flag_record *fr,
- const char *chname)
- {
- struct chanuserrec *cr = NULL;
- if (!u) {
- fr->global = fr->udef_global = fr->chan = fr->udef_chan = fr->bot = 0;
- return;
- }
- if (fr->match & FR_GLOBAL) {
- fr->global = u->flags;
- fr->udef_global = u->flags_udef;
- } else {
- fr->global = 0;
- fr->udef_global = 0;
- }
- if (fr->match & FR_BOT) {
- fr->bot = (long) get_user(&USERENTRY_BOTFL, u);
- } else
- fr->bot = 0;
- if (fr->match & FR_CHAN) {
- if (fr->match & FR_ANYWH) {
- fr->chan = u->flags;
- fr->udef_chan = u->flags_udef;
- for (cr = u->chanrec; cr; cr = cr->next)
- if (findchan_by_dname(cr->channel)) {
- fr->chan |= cr->flags;
- fr->udef_chan |= cr->flags_udef;
- }
- } else {
- if (chname)
- for (cr = u->chanrec; cr; cr = cr->next)
- if (!rfc_casecmp(chname, cr->channel))
- break;
- if (cr) {
- fr->chan = cr->flags;
- fr->udef_chan = cr->flags_udef;
- } else {
- fr->chan = 0;
- fr->udef_chan = 0;
- }
- }
- }
- }
- static int botfl_unpack(struct userrec *u, struct user_entry *e)
- {
- struct flag_record fr = {FR_BOT, 0, 0, 0, 0, 0};
- break_down_flags(e->u.list->extra, &fr, NULL);
- list_type_kill(e->u.list);
- e->u.ulong = fr.bot;
- return 1;
- }
- static int botfl_pack(struct userrec *u, struct user_entry *e)
- {
- char x[100];
- struct flag_record fr = {FR_BOT, 0, 0, 0, 0, 0};
- fr.bot = e->u.ulong;
- e->u.list = user_malloc(sizeof(struct list_type));
- e->u.list->next = NULL;
- e->u.list->extra = user_malloc (build_flags (x, &fr, NULL) + 1);
- strcpy(e->u.list->extra, x);
- return 1;
- }
- static int botfl_kill(struct user_entry *e)
- {
- nfree(e);
- return 1;
- }
- static int botfl_write_userfile(FILE *f, struct userrec *u,
- struct user_entry *e)
- {
- char x[100];
- struct flag_record fr = {FR_BOT, 0, 0, 0, 0, 0};
- fr.bot = e->u.ulong;
- build_flags(x, &fr, NULL);
- if (lfprintf(f, "--%s %s\n", e->type->name, x) == EOF)
- return 0;
- return 1;
- }
- static int botfl_set(struct userrec *u, struct user_entry *e, void *buf)
- {
- register long atr = ((long) buf & BOT_VALID);
- if (!(u->flags & USER_BOT))
- return 1; /* Don't even bother trying to set the
- flags for a non-bot */
- /* if ((atr & BOT_HUB) && (atr & BOT_ALT))
- atr &= ~BOT_ALT;*/
- if (atr & BOT_REJECT) {
- if (atr & BOT_SHARE)
- atr &= ~(BOT_SHARE | BOT_REJECT);
- if (atr & BOT_HUB)
- atr &= ~(BOT_HUB | BOT_REJECT);
- /* if (atr & BOT_ALT)
- atr &= ~(BOT_ALT | BOT_REJECT);*/
- }
- if (!(atr & BOT_SHARE))
- atr &= ~BOT_GLOBAL;
- e->u.ulong = atr;
- return 1;
- }
- static int botfl_tcl_get(Tcl_Interp *interp, struct userrec *u,
- struct user_entry *e, int argc, char **argv)
- {
- char x[100];
- struct flag_record fr = {FR_BOT, 0, 0, 0, 0, 0};
- fr.bot = e->u.ulong;
- build_flags(x, &fr, NULL);
- Tcl_AppendResult(interp, x, NULL);
- return TCL_OK;
- }
- static int botfl_tcl_set(Tcl_Interp *irp, struct userrec *u,
- struct user_entry *e, int argc, char **argv)
- {
- struct flag_record fr = {FR_BOT, 0, 0, 0, 0, 0};
- BADARGS(4, 4, " handle BOTFL flags");
- if (u->flags & USER_BOT) {
- /* Silently ignore for users */
- break_down_flags(argv[3], &fr, NULL);
- botfl_set(u, e, (void *) fr.bot);
- }
- return TCL_OK;
- }
- static int botfl_expmem(struct user_entry *e)
- {
- return 0;
- }
- static void botfl_display(int idx, struct user_entry *e, struct userrec *u)
- {
- struct flag_record fr = {FR_BOT, 0, 0, 0, 0, 0};
- char x[100];
- fr.bot = e->u.ulong;
- build_flags(x, &fr, NULL);
- dprintf(idx, " BOT FLAGS: %s\n", x);
- }
- struct user_entry_type USERENTRY_BOTFL =
- {
- 0, /* always 0 ;) */
- 0,
- def_dupuser,
- botfl_unpack,
- botfl_pack,
- botfl_write_userfile,
- botfl_kill,
- def_get,
- botfl_set,
- botfl_tcl_get,
- botfl_tcl_set,
- botfl_expmem,
- botfl_display,
- "BOTFL"
- };
|