mgcplib.h

来自「台湾大学的一个mgcp 协议的实现源码,对研究mgcp协议很有帮助!」· C头文件 代码 · 共 39 行

H
39
字号
/* 
 * Copyright (C) 1999-2000 Computer & Communications Research Laboratories,
 *				           Industrial Technology Research Institute
 * Copyright Telcordia Technologies 1999
 */
/*
 * mgclib.h
 */

#ifndef MGCPLIB_H
#define MGCPLIB_H

/* The following ifdef block is the standard way of creating macros which make exporting 
 * from a DLL simpler. All files within this DLL are compiled with the MGCP_EXPORTS
 * symbol defined on the command line. this symbol should not be defined on any project
 * that uses this DLL. This way any other project whose source files include this file see 
 * MGCP_API functions as being imported from a DLL, wheras this DLL sees symbols
 * defined with this macro as being exported.
 */
#ifdef WIN32
	#ifdef MGCP_EXPORTS
		#define MGCP_API __declspec(dllexport)
	#else
		#define MGCP_API __declspec(dllimport)
	#endif

	#if _MSC_VER > 1000
		#pragma once
	#endif
	/* Exclude rarely-used stuff from Windows headers */
	#define WIN32_LEAN_AND_MEAN	
	#include <windows.h>
#else /* SOLARIS*/
	#define MGCP_API 
#endif

#endif /* MGCPLIB_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?