72 lines
2.5 KiB
C
72 lines
2.5 KiB
C
/****************************************************************************
|
|
|
|
|
| (C) Copyright 2004 Novell, Inc.
|
|
| All Rights Reserved.
|
|
|
|
|
| This program is free software; you can redistribute it and/or
|
|
| modify it under the terms of version 2 of the GNU General Public
|
|
| License as published by the Free Software Foundation.
|
|
|
|
|
| This program is distributed in the hope that it will be useful,
|
|
| but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| GNU General Public License for more details.
|
|
|
|
|
| You should have received a copy of the GNU General Public License
|
|
| along with this program; if not, contact Novell, Inc.
|
|
|
|
|
| To contact Novell about this file by physical or electronic mail,
|
|
| you may find current contact information at www.novell.com
|
|
|
|
|
|***************************************************************************
|
|
|
|
|
| Novell's User/Kernel Data Portal (NDP) Common Message Handling include file.
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
|
|
|
| $Author: taysom $
|
|
| $Date: 2004-12-31 01:10:58 +0530 (Fri, 31 Dec 2004) $
|
|
|
|
|
| $RCSfile$
|
|
| $Revision: 465 $
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
| This file is used to:
|
|
| ...
|
|
+-------------------------------------------------------------------------*/
|
|
|
|
#ifndef NDP_MESSAGEHANDLER_H
|
|
#define NDP_MESSAGEHANDLER_H
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
# include <include/ndp_comn.h>
|
|
# include <ndp_mod.h>
|
|
#else
|
|
/* NOTE: ndp_comn.h needs included before anything else in application land */
|
|
# include <include/ndp_comn.h>
|
|
# include <include/ndp_app.h>
|
|
# include <include/ndp_msg.h>
|
|
#endif
|
|
|
|
#include <include/ndp_guids.h>
|
|
|
|
/******************************************************************************
|
|
*******************************************************************************
|
|
* Function Pre-Declarations
|
|
*******************************************************************************
|
|
******************************************************************************/
|
|
|
|
/******************************************************************************
|
|
* The NDP Application Message Handling Routine
|
|
* This routine is called whenever a message is received for the NDP Application
|
|
******************************************************************************/
|
|
void ndp_messagehandler(
|
|
ndpContext_t *ndpContext,
|
|
GUID_t *srcGuidPrime,
|
|
GUID_t *dstGuid,
|
|
LONG length, /* 32 bit unsigned value */
|
|
unsigned char *data);
|
|
|
|
#endif /* NDP_MESSAGEHANDLER_H */
|