📄 statusd_shm.h
字号:
/*
* Copyright (c) 1999 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
* $Id: statusd_shm.h,v 8.4 1999/05/18 08:00:04 gshapiro Exp $
*
* Contributed by Exactis.com, Inc.
*
*/
/*
** The shared memory part of statusd.
**
** Attach to STATUSD_SHM_KEY and update the counter appropriate
** for your type of service.
**
*/
#define STATUSD_MAGIC 110946
#define STATUSD_SHM_KEY (key_t)(13)
#define STATUSD_LONGS (2)
typedef struct {
unsigned long magic;
unsigned long ul[STATUSD_LONGS];
} STATUSD_SHM;
/*
** Offsets into ul[]. The appropriate program
** increments these as appropriate.
*/
#define STATUSD_COOKIE (0) /* reregister cookie */
/* sendmail */
#define STATUSD_SM_NSENDMAIL (1) /* how many running */
extern void shmtick __P((int, int));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -