set_textdomain ("general");
set_textdomain ("base");
void getgroup (){    FILE *grp_file;    char *tmpstr = 0;    size_t tmpstr_len = 0;    grp_data group;    grp_file = fopen (GROUPS_FILE, "r");    while (getline (&tmpstr, &tmpstr_len, grp_file) != -1)    {	if (!strncmp (tmpstr, GROUP_STR, strlen (GROUP_STR)))	{	    int i;	    for (i = strlen (tmpstr); i > 0; i--)		if (tmpstr[i] == ']')		{		    tmpstr[i] = 0;		    break;		}	    group.name = string (tmpstr + strlen (GROUP_STR));	}	else	{	    if (!strncmp (tmpstr, "Name", 4))	    {		set_textdomain ("general");		group.textstr = string (_(cut_str (tmpstr).c_str ()));	    }	    else if (!strncmp (tmpstr, "SortKey", 7))	    {		group.skey = atoi (cut_str (tmpstr).c_str ());		groups.push_back (group);		modules.push_back (vector<mod_data> ());	    }	}				/* else */    }				/* while */    fclose (grp_file);    free (tmpstr);}