EZ_SetDefaultMessageHandler man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

EZ_SetDefaultMessageHandler(3)	EZWGL Functions EZ_SetDefaultMessageHandler(3)

NAME
       EZ_SetDefaultMessageHandler - register the default message handler

SYNOPSIS
       #include <EZ.h>

       typedef struct {
	 Atom	    messageType;    /* message type   */
	 int	    messageLength;  /* message length */
	 char	    *message;	    /* the message    */
	 int	    messageId;	    /* message Id     */
	 int	    replyId;	    /* if request, the message id to reply */
	 int	    isReply;	    /* flag whether the message is a reply */
	 Window	    sender;	    /* sender's communication window id	 */
	 Atom	    senderClass;    /* sender's class name */
	 Atom	    senderInstance; /* sender's instance name */
	 int	    senderIsSelf;   /* is message originated from the myself? */
       } EZ_Message;

       typedef void (*EZ_MessageHandler)(EZ_Message *msgIn, void *client_data);

       void EZ_SetDefaultMessageHandler(EZ_MessageHandler handler, void *clientData)

ARGUMENTS
       handler	Specifies a message handler.

       client_data  Specifies an application data to be passed to the handler.

DESCRIPTION
       This  function sets the default message handler for an application. All
       messages received with no handlers will be handled by this default mes‐
       sage handler.

SEE ALSO
       EZ_AddMessageHandler(3), EZ_BroadcastMessage(3), EZ_ReplyMessage(3)

EZWGL						EZ_SetDefaultMessageHandler(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net