Commit bca7cbb0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(enum res_type): Removed the Res_type typedef. The only user

	updated.  (Bug 335).
parent bbf7658f
/*
* $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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment