[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] broadcast/transport/rtp/recv/pub rtpdebug.h, NONE,
From:       dcollins () helixcommunity ! org
Date:       2011-10-28 6:08:49
[Download RAW message or body]

Update of /cvsroot/server/broadcast/transport/rtp/recv/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv24051/pub

Added Files:
      Tag: DEAN_PERF_2011_10_17
	rtpdebug.h 
Log Message:
experimental DEAN_PERF_2011_10_17 branch checkin: debugging/tracemask

--- NEW FILE: rtpdebug.h ---
/* ***** BEGIN LICENSE BLOCK *****
 * Source last modified: $Id: rtpdebug.h,v 1.1.2.1 2011/10/28 06:08:47 dcollins Exp $
 * 
 * Portions Copyright (c) 1995-2011 RealNetworks, Inc. All Rights Reserved.
 * 
 * The contents of this file, and the files included with this file,
 * are subject to the current version of the Real Format Source Code
 * Porting and Optimization License, available at
 * https://helixcommunity.org/2005/license/realformatsource (unless
 * RealNetworks otherwise expressly agrees in writing that you are
 * subject to a different license).  You may also obtain the license
 * terms directly from RealNetworks.  You may not use this file except
 * in compliance with the Real Format Source Code Porting and
 * Optimization License. There are no redistribution rights for the
 * source code of this file. Please see the Real Format Source Code
 * Porting and Optimization License for the rights, obligations and
 * limitations governing use of the contents of the file.
 * 
 * RealNetworks is the developer of the Original Code and owns the
 * copyrights in the portions it created.
 * 
 * This file, and the files included with this file, is distributed and
 * made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL
 * SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT
 * OR NON-INFRINGEMENT.
 * 
 * Technology Compatibility Kit Test Suite(s) Location:
 * https://rarvcode-tck.helixcommunity.org
 * 
 * Contributor(s):
 * 
 * ***** END LICENSE BLOCK ***** */
/****************************************************************************
 * 
 *  RTP Live - Debugging Routines
 *
 */

#ifndef _RTPDEBUG_H_
#define _RTPDEBUG_H_

#include <stdarg.h>
#include <stdlib.h>
#include "hxtypes.h"
 
#include "debug.h"

extern UINT32 g_ulRTPDebugLevel;

#define	RTPDPRINTF(mask,x)	if (g_ulRTPDebugLevel & (mask)) RTPDebugPrintOut1 x; else
#define	RTPDPRINTFX(mask,x)	if (g_ulRTPDebugLevel & (mask)) RTPDebugPrintOut2 x; else

#define B_ERROR		0x00000001	/* error condition */
#define B_INFO		0x00000002	/* general informative messages */
#define B_ENTRY		0x00000004	/* function entry/exit */
#define B_CONS		0x00000008	/* constructor / destructor */
#define B_XFER		0x00000010	/* data input/output */
#define B_TIMEOUT	0x00000020	/* timeout specific */
#define B_STATS		0x00000040	/* statistics */
#define B_PROT		0x00000080	/* Protocol info */
#define B_IHX		0x00000100	/* IHXInterface Calls Tracking */
#define B_LIVEO         0x00000200      /* keyframe tracking */
#define B_THREAD        0x00000400      /* threads */
#define B_THREADV       0x00000800      /* threads (verbose) */

void RTPDebugPrintOut1(const char* fmt, ...);
void RTPDebugPrintOut2(const char* fmt, ...);

#endif /* _RTPDEBUG_H_ */


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic