gsm_util.h
来自「对各种手机进行编程的工具包源码gsmlib 1.9版本。」· C头文件 代码 · 共 41 行
H
41 行
// *************************************************************************// * GSM TA/ME library// *// * File: gsm_util.h// *// * Purpose: Various utilities// *// * Author: Peter Hofmann (software@pxh.de)// *// * Created: 4.5.1999// *************************************************************************#ifndef GSM_UTIL_H#define GSM_UTIL_H#include <string>#include <vector>#include <gsmlib/gsm_error.h>#ifndef WIN32#include <sys/time.h>#endif#include <stdio.h>using namespace std;namespace gsmlib{ // time type typedef struct timeval *GsmTime; // some constants const char CR = 13; // ASCII carriage return const char LF = 10; // ASCII line feed // common number formats const unsigned int UnknownNumberFormat = 129; const unsigned int InternationalNumberFormat = 145; // convert gsm to Latin-1 // characters that have no counterpart in Latin-1 are converted to // code 172 (Latin-1 boolean not, "
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?