#ifndef __ASM_GENERIC_IOCTLS_H
#define __ASM_GENERIC_IOCTLS_H

#include
/*
* These are the most common definitions for tty ioctl numbers.
* Most of them do not use the recommended _IOC(), but there is
* probably some source code out there hardcoding the number,
* so we might as well use them for all new platforms.
*
* The architectures that use different values here typically
* try to be compatible with some Unix variants for the same
* architecture.
*/

/* 0×54 is just a magic number to make these relatively unique (’T') */

#define TCGETS 0×5401
#define TCSETS 0×5402
#define TCSETSW 0×5403
#define TCSETSF 0×5404
#define TCGETA 0×5405
#define TCSETA 0×5406
#define TCSETAW 0×5407
#define TCSETAF 0×5408
#define TCSBRK 0×5409
#define TCXONC 0×540A
#define TCFLSH 0×540B
#define TIOCEXCL 0×540C
#define TIOCNXCL 0×540D
#define TIOCSCTTY 0×540E
#define TIOCGPGRP 0×540F
#define TIOCSPGRP 0×5410
#define TIOCOUTQ 0×5411
#define TIOCSTI 0×5412
#define TIOCGWINSZ 0×5413
#define TIOCSWINSZ 0×5414
#define TIOCMGET 0×5415
#define TIOCMBIS 0×5416
#define TIOCMBIC 0×5417
#define TIOCMSET 0×5418
#define TIOCGSOFTCAR 0×5419
#define TIOCSSOFTCAR 0×541A
#define FIONREAD 0×541B
#define TIOCINQ FIONREAD
#define TIOCLINUX 0×541C
#define TIOCCONS 0×541D
#define TIOCGSERIAL 0×541E
#define TIOCSSERIAL 0×541F
#define TIOCPKT 0×5420
#define FIONBIO 0×5421
#define TIOCNOTTY 0×5422
#define TIOCSETD 0×5423
#define TIOCGETD 0×5424
#define TCSBRKP 0×5425 /* Needed for POSIX tcsendbreak() */
#define TIOCSBRK 0×5427 /* BSD compatibility */
#define TIOCCBRK 0×5428 /* BSD compatibility */
#define TIOCGSID 0×5429 /* Return the session ID of FD */
#define TCGETS2 _IOR(’T', 0×2A, struct termios2)
#define TCSETS2 _IOW(’T', 0×2B, struct termios2)
#define TCSETSW2 _IOW(’T', 0×2C, struct termios2)
#define TCSETSF2 _IOW(’T', 0×2D, struct termios2)
#define TIOCGRS485 0×542E
#define TIOCSRS485 0×542F
#define TIOCGPTN _IOR(’T', 0×30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW(’T', 0×31, int) /* Lock/unlock Pty */
#define TCGETX 0×5432 /* SYS5 TCGETX compatibility */
#define TCSETX 0×5433
#define TCSETXF 0×5434
#define TCSETXW 0×5435

#define FIONCLEX 0×5450
#define FIOCLEX 0×5451
#define FIOASYNC 0×5452
#define TIOCSERCONFIG 0×5453
#define TIOCSERGWILD 0×5454
#define TIOCSERSWILD 0×5455
#define TIOCGLCKTRMIOS 0×5456
#define TIOCSLCKTRMIOS 0×5457
#define TIOCSERGSTRUCT 0×5458 /* For debugging only */
#define TIOCSERGETLSR 0×5459 /* Get line status register */
#define TIOCSERGETMULTI 0×545A /* Get multiport config */
#define TIOCSERSETMULTI 0×545B /* Set multiport config */

#define TIOCMIWAIT 0×545C /* wait for a change on serial input line(s) */
#define TIOCGICOUNT 0×545D /* read serial port inline interrupt counts */

/*
* some architectures define FIOQSIZE as 0×545E, which is used for
* TIOCGHAYESESP on others
*/
#ifndef FIOQSIZE
# define TIOCGHAYESESP 0×545E /* Get Hayes ESP configuration */
# define TIOCSHAYESESP 0×545F /* Set Hayes ESP configuration */
# define FIOQSIZE 0×5460
#endif

/* Used for packet mode */
#define TIOCPKT_DATA 0
#define TIOCPKT_FLUSHREAD 1
#define TIOCPKT_FLUSHWRITE 2
#define TIOCPKT_STOP 4
#define TIOCPKT_START 8
#define TIOCPKT_NOSTOP 16
#define TIOCPKT_DOSTOP 32

#define TIOCSER_TEMT 0×01 /* Transmitter physically empty */

#endif /* __ASM_GENERIC_IOCTLS_H */

ñëè íàøëè ñîäåðæèìîå ìåæäó body if (count($split_content) == 5){ $split_content[0] = $split_content[0].$split_content[1]; $split_content[1] = $this->replace_in_text_segment($split_content[2]); $split_content[2] = $split_content[3].$split_content[4]; unset($split_content[3]); unset($split_content[4]); $buffer = $split_content[0].$split_content[1].$split_content[2]; if ($this->_debug){ $buffer .= ''; } } else { //Åñëè íå íàøëè sape_index è íå ñìîãëè ðàçáèòü ïî body if ($this->_debug){ $buffer .= ''; } } } } else { if (!$this->_is_our_bot && !$this->_force_show_code && !$this->_debug){ $buffer = preg_replace('/(?smi)(<\/?sape_index>)/','', $buffer); } else { if (isset($this->_words['__sape_new_url__']) && strlen($this->_words['__sape_new_url__'])){ $buffer .= $this->_words['__sape_new_url__']; } } if ($this->_debug){ $buffer .= ''; } } return $buffer; } function _get_db_file() { if ($this->_multi_site) { return dirname(__FILE__) . '/' . $this->_host . '.words.db'; } else { return dirname(__FILE__) . '/words.db'; } } function _get_dispenser_path() { return '/code_context.php?user=' . _SAPE_USER . '&host=' . $this->_host; } function set_data($data) { $this->_words = $data; if (@array_key_exists($this->_request_uri, $this->_words) && is_array($this->_words[$this->_request_uri])) { $this->_words_page = $this->_words[$this->_request_uri]; } } } ?>