Back to index

glibc  2.9
Classes | Defines
talkd.h File Reference
#include <sys/types.h>
#include <sys/socket.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CTL_MSG
struct  CTL_RESPONSE

Defines

#define NAME_SIZE   12
#define TTY_SIZE   16
#define TALK_VERSION   1 /* protocol version */
#define LEAVE_INVITE   0 /* leave invitation with server */
#define LOOK_UP   1 /* check for invitation by callee */
#define DELETE   2 /* delete invitation by caller */
#define ANNOUNCE   3 /* announce invitation by caller */
#define SUCCESS   0 /* operation completed properly */
#define NOT_HERE   1 /* callee not logged in */
#define FAILED   2 /* operation failed for unexplained reason */
#define MACHINE_UNKNOWN   3 /* caller's machine name unknown */
#define PERMISSION_DENIED   4 /* callee's tty doesn't permit announce */
#define UNKNOWN_REQUEST   5 /* request has invalid type value */
#define BADVERSION   6 /* request has invalid protocol version */
#define BADADDR   7 /* request has invalid addr value */
#define BADCTLADDR   8 /* request has invalid ctl_addr value */
#define MAX_LIFE   60 /* max time daemon saves invitations */
#define RING_WAIT   30 /* time to wait before resending invitation */

Class Documentation

struct CTL_MSG

Definition at line 59 of file talkd.h.

Class Members
u_char answer
u_int32_t id_num
char l_name
u_char pad
int32_t pid
char r_name
char r_tty
u_char type
u_char vers
struct CTL_RESPONSE

Definition at line 78 of file talkd.h.

Class Members
u_char answer
u_int32_t id_num
u_char pad
u_char type
u_char vers

Define Documentation

#define ANNOUNCE   3 /* announce invitation by caller */

Definition at line 93 of file talkd.h.

#define BADADDR   7 /* request has invalid addr value */

Definition at line 103 of file talkd.h.

#define BADCTLADDR   8 /* request has invalid ctl_addr value */

Definition at line 104 of file talkd.h.

#define BADVERSION   6 /* request has invalid protocol version */

Definition at line 102 of file talkd.h.

#define DELETE   2 /* delete invitation by caller */

Definition at line 92 of file talkd.h.

#define FAILED   2 /* operation failed for unexplained reason */

Definition at line 98 of file talkd.h.

#define LEAVE_INVITE   0 /* leave invitation with server */

Definition at line 90 of file talkd.h.

#define LOOK_UP   1 /* check for invitation by callee */

Definition at line 91 of file talkd.h.

#define MACHINE_UNKNOWN   3 /* caller's machine name unknown */

Definition at line 99 of file talkd.h.

#define MAX_LIFE   60 /* max time daemon saves invitations */

Definition at line 109 of file talkd.h.

#define NAME_SIZE   12

Definition at line 68 of file talkd.h.

#define NOT_HERE   1 /* callee not logged in */

Definition at line 97 of file talkd.h.

#define PERMISSION_DENIED   4 /* callee's tty doesn't permit announce */

Definition at line 100 of file talkd.h.

#define RING_WAIT   30 /* time to wait before resending invitation */

Definition at line 111 of file talkd.h.

#define SUCCESS   0 /* operation completed properly */

Definition at line 96 of file talkd.h.

#define TALK_VERSION   1 /* protocol version */

Definition at line 87 of file talkd.h.

#define TTY_SIZE   16

Definition at line 71 of file talkd.h.

#define UNKNOWN_REQUEST   5 /* request has invalid type value */

Definition at line 101 of file talkd.h.