3 * This file is part of the KDE project, module kdesu.
4 * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
7 #ifndef __Lexer_h_included__
8 #define __Lexer_h_included__
13 * This is a lexer for the kdesud protocol.
18 Lexer(const QByteArray
&input
);
21 /** Read next token. */
24 /** Return the token's value. */
28 Tok_none
, Tok_exec
=256, Tok_pass
, Tok_delCmd
,
29 Tok_ping
, Tok_str
, Tok_num
, Tok_stop
,
30 Tok_set
, Tok_get
, Tok_delVar
, Tok_delGroup
,
31 Tok_host
, Tok_prio
, Tok_sched
, Tok_getKeys
,
32 Tok_chkGroup
, Tok_delSpecialKey
, Tok_exit