📄 gsm_util.h
字号:
// *************************************************************************// * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -