int buf_size; /* actual number of bytes in the buffer */
int needed_size; /* needed size when reading pof */
int state; /* actual interface states from above constants */
- unsigned char conf_line[CONF_LINE_LEN]; /* buffered conf line */
- unsigned short channel; /* active channel number */
- unsigned char *pof_buffer; /* buffer when writing pof */
+ uchar conf_line[CONF_LINE_LEN]; /* buffered conf line */
+ word channel; /* active channel number */
+ uchar *pof_buffer; /* buffer when writing pof */
};
/***********************************************************************/
static int
process_line(struct conf_writedata *cnf)
{
- unsigned char *cp = cnf->conf_line;
+ uchar *cp = cnf->conf_line;
int i;
if (cnf->card->debug_flags & LOG_CNF_LINE)
{
struct conf_writedata *cnf;
int i;
- unsigned char ch, *cp;
+ uchar ch, *cp;
if (!count)
return (0); /* nothing to handle */
hysdn_procconf_init(void)
{
hysdn_card *card;
- unsigned char conf_name[20];
+ uchar conf_name[20];
hysdn_proc_entry = proc_mkdir(PROC_SUBDIR_NAME, proc_net);
if (!hysdn_proc_entry) {
hysdn_procconf_release(void)
{
hysdn_card *card;
- unsigned char conf_name[20];
+ uchar conf_name[20];
card = card_root; /* start with first card */
while (card) {