diff --git a/src/server/connections.h b/src/server/connections.h index 42f0b2947d2b2773083312180713345150cb5dee..e5422d944096c6e686f23004392c698fe25f259d 100644 --- a/src/server/connections.h +++ b/src/server/connections.h @@ -1,5 +1,5 @@ /* - * $Id: connections.h,v 0.47 2001/12/28 20:04:53 ceder Exp $ + * $Id: connections.h,v 0.48 2001/12/28 20:20:46 ceder Exp $ * Copyright (C) 1991-2000 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -23,7 +23,7 @@ * Please mail bug reports to bug-lyskom@lysator.liu.se. */ /* - * $Id: connections.h,v 0.47 2001/12/28 20:04:53 ceder Exp $ + * $Id: connections.h,v 0.48 2001/12/28 20:20:46 ceder Exp $ * * connections.h -- The top level of the communication packet. * @@ -142,7 +142,7 @@ extern Connection * active_connection; /* * This enum describes the result of a function in services.c. */ -typedef enum { +enum res_type { rt_number, /* E.g. Pers_no, Conf_no, Text_no. This is somewhat special in that the function indicates an error by returning @@ -188,7 +188,7 @@ typedef enum { , rt_memory_info #endif -} Res_type; +}; /* * The result from a call is stored in this union. @@ -242,7 +242,7 @@ typedef union { typedef struct { enum call_header function; - Res_type result; + enum res_type result; /* The function that is used to parse args for this function: */ void (*parser)(Connection *client); } Fnc_descriptor;