?? s.ii
字號:
# 148 "/usr/include/limits.h" 2 3# 117 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h" 2 3# 7 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h" 2 3# 11 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h" 2 3 # 107 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h" 3 # 31 "/usr/include/bits/socket.h" 2 3 typedef __socklen_t socklen_t; enum __socket_type{ SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_PACKET = 10 }; # 1 "/usr/include/bits/sockaddr.h" 1 3 typedef unsigned short int sa_family_t; # 142 "/usr/include/bits/socket.h" 2 3 struct sockaddr { sa_family_t sa_family ; char sa_data[14]; }; struct sockaddr_storage { sa_family_t ss_family ; __uint32_t __ss_align; char __ss_padding[(128 - (2 * sizeof (__uint32_t ))) ]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data [0] ; }; extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) throw () ;# 280 "/usr/include/bits/socket.h" 3 enum { SCM_RIGHTS = 0x01, SCM_CREDENTIALS = 0x02, __SCM_CONNECT = 0x03 }; struct ucred{ pid_t pid; uid_t uid; gid_t gid; }; # 1 "/usr/include/asm/socket.h" 1 3# 1 "/usr/include/asm/sockios.h" 1 3 # 4 "/usr/include/asm/socket.h" 2 3 # 62 "/usr/include/asm/socket.h" 3# 305 "/usr/include/bits/socket.h" 2 3 struct linger { int l_onoff; int l_linger; };# 35 "/usr/include/sys/socket.h" 2 3 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum{ SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 94 "/usr/include/sys/socket.h" 3 extern int socket (int __domain, int __type, int __protocol) throw () ; extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) throw () ; extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) throw () ; extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) throw () ; extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) throw () ; extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, int __flags, __const struct sockaddr * __addr, socklen_t __addr_len); extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) throw () ; extern int setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) throw () ; extern int listen (int __fd, int __n) throw () ; extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern int shutdown (int __fd, int __how) throw () ; extern int isfdtype (int __fd, int __fdtype) throw () ;} # 24 "/usr/include/netinet/in.h" 2 3extern "C" { enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MTP = 92, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_RAW = 255, IPPROTO_MAX }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; typedef uint32_t in_addr_t;struct in_addr { in_addr_t s_addr; }; struct in6_addr { union { uint8_t u6_addr8[16]; uint16_t u6_addr16[8]; uint32_t u6_addr32[4]; } in6_u; };extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; struct sockaddr_in { sa_family_t sin_family ; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family ; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; # 1 "/usr/include/bits/in.h" 1 3 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 253 "/usr/include/netinet/in.h" 2 3 extern uint32_t ntohl (uint32_t __netlong) throw () __attribute__ ((__const__));extern uint16_t ntohs (uint16_t __netshort) throw () __attribute__ ((__const__));extern uint32_t htonl (uint32_t __hostlong) throw () __attribute__ ((__const__));extern uint16_t htons (uint16_t __hostshort) throw () __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 # 44 "/usr/include/bits/byteswap.h" 3 # 82 "/usr/include/bits/byteswap.h" 3# 91 "/usr/include/bits/byteswap.h" 3 # 117 "/usr/include/bits/byteswap.h" 3# 131 "/usr/include/bits/byteswap.h" 3# 273 "/usr/include/netinet/in.h" 2 3# 294 "/usr/include/netinet/in.h" 3 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) throw () ; extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) throw () ; struct in6_pktinfo { struct in6_addr ipi6_addr; unsigned int ipi6_ifindex; };# 385 "/usr/include/netinet/in.h" 3} # 6 "queue.h" 2typedef unsigned int u_int;typedef unsigned long u_long;extern u_int id;class queue{ public: int locked; struct event { timeval tv; u_int input; u_int owner; struct event* next; }; event* q; term* output; long* lastfrom; u_int clients; int sock; struct sockaddr_in to; timeval when; timeval stamp; dword strokes; ~queue(); queue( term* _output, int sock, struct sockaddr_in _to, int id ); void signal( char* buffer, int length, int sender ); void xmit( u_int input ); void pipe( u_char input ); void func( u_char input ); void arrow( u_char input );};# 6 "kbd.h" 2class kbd : public kbd_tty{ public: bool lalt, alt, ctrl, shift; bool caps, num, scrl; bool ascii; int keycode; int handle; bool good; term pad; queue* que; kbd(); kbd( int ); ~kbd(); void operator=( char );};# 5 "program.h" 2# 1 "vector.h" 1class vector{ public: virtual void key( void* ) = 0; virtual void mcast( void* ) = 0; virtual ~vector(); vector(); void call( void(vector::* v)( void* ), void* state );};# 7 "program.h" 2class program : public kbd, public vector{ public: volatile int exit; term* surface; ~program(); program(); void key( void* ); void mcast( void* );};# 1 "s.cc" 2extern program puck;class _q{ public: ~_q(){} _q(){} void x( void* ){}};struct event{ timeval tv; u_int input; u_int owner; struct event* next;};struct _x { void* q; void* r; void* s; _x* x;};# 1 "thread.h" 1extern volatile struct thread{ void(vector::* addr)( void* ); void* state; thread* next;}* top_thread;# 1 "/usr/include/stdio.h" 1 3 extern "C" { # 1 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 1 3 # 19 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 61 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 131 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 188 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 271 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3# 283 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 317 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 34 "/usr/include/stdio.h" 2 3 typedef struct _IO_FILE FILE; typedef struct _IO_FILE __FILE;# 1 "/usr/include/libio.h" 1 3 # 1 "/usr/include/_G_config.h" 1 3 # 1 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 1 3 # 19 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 61 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 131 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 188 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 typedef unsigned int wint_t; # 317 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3 # 14 "/usr/include/_G_config.h" 2 3# 1 "/usr/include/wchar.h" 1 3 # 46 "/usr/include/wchar.h" 3# 1 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 1 3 # 19 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h" 3
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -