?? libdefs.h.txt
字號(hào):
#ifndef __libdefs_h__
#define __libdefs_h__
#ifdef __cplusplus
extern "C" {
#endif
#define MAX_THREADS 5 /* Maximum number of threads */
#include <zdt/config.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <strings.h>
#include <unistd.h>
#if SIZEOF_UNSIGNED_LONG_INT == 4
typedef unsigned long word32;
typedef signed long sword32;
#elif SIZEOF_UNSIGNED_INT == 4
typedef unsigned int word32;
typedef signed int sword32;
#else
# error "Cannot find a 32 bit integer in your system, sorry."
#endif
#if SIZEOF_UNSIGNED_INT == 2
typedef unsigned int word16;
#elif SIZEOF_UNSIGNED_SHORT_INT == 2
typedef unsigned short word16;
#else
# error "Cannot find a 16 bit integer in your system, sorry."
#endif
#if SIZEOF_UNSIGNED_CHAR == 1
typedef unsigned char word8;
#else
# error "Cannot find an 8 bit char in your system, sorry."
#endif
/* originally was in 3way.c */
#define RAND32 (word32) ((word32)rand() << 17 ^ (word32)rand() << 9 ^ rand())
#ifndef HAVE_MEMMOVE
# ifdef HAVE_BCOPY
# define memmove(d, s, n) bcopy ((s), (d), (n))
# else
# error "Neither memmove nor bcopy exists on your system."
# endif
#endif
#define ENCRYPT 0
#define DECRYPT 1
#define MAX_KEY_LEN 513 /* for gen_key */
#ifdef __cplusplus
}
#endif
#endif /* !__libdefs_h__ */
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -