Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

macro.h File Reference

Various utilities used by services. More...

#include "queue.h"

Go to the source code of this file.

Defines

#define ARGUNUSED(arg)   arg
#define ADD_MEMO_BOX(who)
 Create a memo box for a user.


Detailed Description

Various utilities used by services.

Author:
Greg Poma
Date:
1997, 2001
Id
macro.h,v 1.1.1.1 2003/07/04 02:54:15 Mysid Exp
*

Definition in file macro.h.


Define Documentation

#define ADD_MEMO_BOX who   ) 
 

Value:

do {                        \
    (who)->memos = (MemoBox *)oalloc(sizeof(MemoBox));      \
        (who)->memos->max = MS_DEF_RCV_MAX;             \
        LIST_INIT(&(who)->memos->mb_memos);             \
} while(0)
Create a memo box for a user.

Definition at line 54 of file macro.h.

Referenced by readNickData(), and sendToMemoServ().

#define ARGUNUSED arg   )     arg
 

deep, dark magic to tell gcc (but not g++, at least not in 2.7.2.x) that an argument to a function is not used.

Definition at line 50 of file macro.h.


Generated at Sat Oct 25 20:56:11 2003 for Services using Doxygen.
Services Copyr. 1996-2001 Chip Norkus, Max Byrd, Greg Poma, Michael Graff, James Hess, Dafydd James. All rights reserved See LICENSE for licensing information.