* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id$
+ */
+/** @file
+ * @brief Command and token declarations and structures.
+ * @version $Id$
*/
#ifndef INCLUDED_msg_h
#define INCLUDED_msg_h
#define TOK_GET "GET"
#define MSG_PRIVS "PRIVS" /* PRIV */
-#define TOK_PRIVS "PRIVS"
+#define TOK_PRIVS "PR"
+#define CMD_PRIVS MSG_PRIVS, TOK_PRIVS
+
+#define MSG_CAP "CAP"
+#define TOK_CAP "CAP"
+#define CMD_CAP MSG_CAP, TOK_CAP
+
+#define MSG_XQUERY "XQUERY"
+#define TOK_XQUERY "XQ"
+#define CMD_XQUERY MSG_XQUERY, TOK_XQUERY
+
+#define MSG_XREPLY "XREPLY"
+#define TOK_XREPLY "XR"
+#define CMD_XREPLY MSG_XREPLY, TOK_XREPLY
/*
* Constants