Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ac6985f4
Kaydet (Commit)
ac6985f4
authored
Nis 11, 2001
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SOCKET.py and TERMIOS.py are no longer used in this release.
üst
c8c1a5b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
539 deletions
+0
-539
SOCKET.py
Lib/plat-unixware7/SOCKET.py
+0
-267
TERMIOS.py
Lib/plat-unixware7/TERMIOS.py
+0
-270
regen
Lib/plat-unixware7/regen
+0
-2
No files found.
Lib/plat-unixware7/SOCKET.py
deleted
100644 → 0
Dosyayı görüntüle @
c8c1a5b7
# Generated by h2py from /usr/include/sys/socket.h
# Included from sys/byteorder.h
LITTLE_ENDIAN
=
1234
BIG_ENDIAN
=
4321
PDP_ENDIAN
=
3412
# Included from sys/byteorder_f.h
BYTE_ORDER
=
LITTLE_ENDIAN
def
htonl
(
hl
):
return
__htonl
(
hl
)
def
ntohl
(
nl
):
return
__ntohl
(
nl
)
def
htons
(
hs
):
return
__htons
(
hs
)
def
ntohs
(
ns
):
return
__ntohs
(
ns
)
def
ntohl
(
x
):
return
(
x
)
def
ntohs
(
x
):
return
(
x
)
def
htonl
(
x
):
return
(
x
)
def
htons
(
x
):
return
(
x
)
# Included from sys/types.h
def
quad_low
(
x
):
return
x
.
val
[
0
]
ADT_EMASKSIZE
=
8
SHRT_MIN
=
-
32768
SHRT_MAX
=
32767
INT_MIN
=
(
-
2147483647
-
1
)
INT_MAX
=
2147483647
LONG_MIN
=
(
-
2147483647
-
1
)
LONG_MAX
=
2147483647
OFF32_MAX
=
LONG_MAX
ISTAT_ASSERTED
=
0
ISTAT_ASSUMED
=
1
ISTAT_NONE
=
2
OFF_MAX
=
OFF32_MAX
CLOCK_MAX
=
LONG_MAX
P_MYID
=
(
-
1
)
P_MYHOSTID
=
(
-
1
)
# Included from sys/select.h
FD_SETSIZE
=
4096
NBBY
=
8
NULL
=
0
# Included from sys/bitypes.h
# Included from sys/convsa.h
__NETLIB_UW211_SVR4
=
1
__NETLIB_UW211_XPG4
=
2
__NETLIB_GEMINI_SVR4
=
3
__NETLIB_GEMINI_XPG4
=
4
__NETLIB_FP1_SVR4
=
5
__NETLIB_FP1_XPG4
=
6
__NETLIB_BASE_VERSION__
=
__NETLIB_UW211_SVR4
__NETLIB_VERSION__
=
__NETLIB_FP1_SVR4
__NETLIB_VERSION__
=
__NETLIB_FP1_XPG4
__NETLIB_VERSION__
=
__NETLIB_GEMINI_SVR4
__NETLIB_VERSION__
=
__NETLIB_GEMINI_XPG4
__NETLIB_VERSION__
=
__NETLIB_UW211_SVR4
__NETLIB_VERSION__
=
__NETLIB_UW211_XPG4
__NETLIB_VERSION__
=
__NETLIB_FP1_XPG4
def
__NETLIB_VERSION_IS_XPG4
(
version
):
return
(((
version
)
%
2
)
==
0
)
def
__NETLIB_VERSION_HAS_SALEN
(
version
):
return
((
version
)
>=
__NETLIB_GEMINI_SVR4
)
def
__NETLIB_VERSION_IS_IKS
(
version
):
return
((
version
)
>=
__NETLIB_FP1_SVR4
)
def
SA_FAMILY_GET
(
sa
):
return
\
# Included from sys/uio.h
SHUT_RD
=
0
SHUT_WR
=
1
SHUT_RDWR
=
2
# Included from sys/netconfig.h
# Included from sys/cdefs.h
def
__P
(
protos
):
return
protos
def
__STRING
(
x
):
return
#x
def
__P
(
protos
):
return
()
def
__STRING
(
x
):
return
"x"
NETCONFIG
=
"/etc/netconfig"
NETPATH
=
"NETPATH"
NC_TPI_CLTS
=
1
NC_TPI_COTS
=
2
NC_TPI_COTS_ORD
=
3
NC_TPI_RAW
=
4
NC_NOFLAG
=
00
NC_VISIBLE
=
01
NC_BROADCAST
=
02
NC_NOPROTOFMLY
=
"-"
NC_LOOPBACK
=
"loopback"
NC_INET
=
"inet"
NC_INET6
=
"inet6"
NC_IMPLINK
=
"implink"
NC_PUP
=
"pup"
NC_CHAOS
=
"chaos"
NC_NS
=
"ns"
NC_NBS
=
"nbs"
NC_ECMA
=
"ecma"
NC_DATAKIT
=
"datakit"
NC_CCITT
=
"ccitt"
NC_SNA
=
"sna"
NC_DECNET
=
"decnet"
NC_DLI
=
"dli"
NC_LAT
=
"lat"
NC_HYLINK
=
"hylink"
NC_APPLETALK
=
"appletalk"
NC_NIT
=
"nit"
NC_IEEE802
=
"ieee802"
NC_OSI
=
"osi"
NC_X25
=
"x25"
NC_OSINET
=
"osinet"
NC_GOSIP
=
"gosip"
NC_NETWARE
=
"netware"
NC_NOPROTO
=
"-"
NC_TCP
=
"tcp"
NC_UDP
=
"udp"
NC_ICMP
=
"icmp"
NC_IPX
=
"ipx"
NC_SPX
=
"spx"
NC_TPI_CLTS
=
1
NC_TPI_COTS
=
2
NC_TPI_COTS_ORD
=
3
NC_TPI_RAW
=
4
SOCK_STREAM
=
2
SOCK_DGRAM
=
1
SOCK_RAW
=
4
SOCK_RDM
=
5
SOCK_SEQPACKET
=
6
SO_DEBUG
=
0x0001
SO_ACCEPTCONN
=
0x0002
SO_REUSEADDR
=
0x0004
SO_KEEPALIVE
=
0x0008
SO_DONTROUTE
=
0x0010
SO_BROADCAST
=
0x0020
SO_USELOOPBACK
=
0x0040
SO_LINGER
=
0x0080
SO_OOBINLINE
=
0x0100
SO_ORDREL
=
0x0200
SO_IMASOCKET
=
0x0400
SO_MGMT
=
0x0800
SO_REUSEPORT
=
0x1000
SO_LISTENING
=
0x2000
SO_RDWR
=
0x4000
SO_SEMA
=
0x8000
SO_DONTLINGER
=
(
~
SO_LINGER
)
SO_SNDBUF
=
0x1001
SO_RCVBUF
=
0x1002
SO_SNDLOWAT
=
0x1003
SO_RCVLOWAT
=
0x1004
SO_SNDTIMEO
=
0x1005
SO_RCVTIMEO
=
0x1006
SO_ERROR
=
0x1007
SO_TYPE
=
0x1008
SO_PROTOTYPE
=
0x1009
SO_ALLRAW
=
0x100a
SOL_SOCKET
=
0xffff
AF_UNSPEC
=
0
AF_UNIX
=
1
AF_LOCAL
=
AF_UNIX
AF_INET
=
2
AF_IMPLINK
=
3
AF_PUP
=
4
AF_CHAOS
=
5
AF_NS
=
6
AF_NBS
=
7
AF_ECMA
=
8
AF_DATAKIT
=
9
AF_CCITT
=
10
AF_SNA
=
11
AF_DECnet
=
12
AF_DLI
=
13
AF_LAT
=
14
AF_HYLINK
=
15
AF_APPLETALK
=
16
AF_NIT
=
17
AF_802
=
18
AF_OSI
=
19
AF_ISO
=
AF_OSI
AF_X25
=
20
AF_OSINET
=
21
AF_GOSIP
=
22
AF_YNET
=
23
AF_ROUTE
=
24
AF_LINK
=
25
pseudo_AF_XTP
=
26
AF_INET6
=
27
AF_MAX
=
27
AF_INET_BSWAP
=
0x0200
PF_UNSPEC
=
AF_UNSPEC
PF_UNIX
=
AF_UNIX
PF_LOCAL
=
AF_LOCAL
PF_INET
=
AF_INET
PF_IMPLINK
=
AF_IMPLINK
PF_PUP
=
AF_PUP
PF_CHAOS
=
AF_CHAOS
PF_NS
=
AF_NS
PF_NBS
=
AF_NBS
PF_ECMA
=
AF_ECMA
PF_DATAKIT
=
AF_DATAKIT
PF_CCITT
=
AF_CCITT
PF_SNA
=
AF_SNA
PF_DECnet
=
AF_DECnet
PF_DLI
=
AF_DLI
PF_LAT
=
AF_LAT
PF_HYLINK
=
AF_HYLINK
PF_APPLETALK
=
AF_APPLETALK
PF_NIT
=
AF_NIT
PF_802
=
AF_802
PF_OSI
=
AF_OSI
PF_ISO
=
PF_OSI
PF_X25
=
AF_X25
PF_OSINET
=
AF_OSINET
PF_GOSIP
=
AF_GOSIP
PF_YNET
=
AF_YNET
PF_ROUTE
=
AF_ROUTE
PF_LINK
=
AF_LINK
pseudo_PF_XTP
=
pseudo_AF_XTP
PF_INET6
=
AF_INET6
PF_MAX
=
AF_MAX
SOMAXCONN
=
5
SCM_RIGHTS
=
1
MSG_OOB
=
0x1
MSG_PEEK
=
0x2
MSG_DONTROUTE
=
0x4
MSG_CTRUNC
=
0x8
MSG_TRUNC
=
0x10
MSG_EOR
=
0x30
MSG_WAITALL
=
0x20
MSG_MAXIOVLEN
=
16
def
OPTLEN
(
x
):
return
((((
x
)
+
sizeof
(
long
)
-
1
)
/
sizeof
(
long
))
*
sizeof
(
long
))
GIARG
=
0x1
CONTI
=
0x2
GITAB
=
0x4
SOCKETSYS
=
88
SOCKETSYS
=
83
SO_ACCEPT
=
1
SO_BIND
=
2
SO_CONNECT
=
3
SO_GETPEERNAME
=
4
SO_GETSOCKNAME
=
5
SO_GETSOCKOPT
=
6
SO_LISTEN
=
7
SO_RECV
=
8
SO_RECVFROM
=
9
SO_SEND
=
10
SO_SENDTO
=
11
SO_SETSOCKOPT
=
12
SO_SHUTDOWN
=
13
SO_SOCKET
=
14
SO_SOCKPOLL
=
15
SO_GETIPDOMAIN
=
16
SO_SETIPDOMAIN
=
17
SO_ADJTIME
=
18
Lib/plat-unixware7/TERMIOS.py
deleted
100644 → 0
Dosyayı görüntüle @
c8c1a5b7
# Generated by h2py from /usr/include/termios.h
# Included from sys/termios.h
# Included from sys/types.h
def
quad_low
(
x
):
return
x
.
val
[
0
]
ADT_EMASKSIZE
=
8
SHRT_MIN
=
-
32768
SHRT_MAX
=
32767
INT_MIN
=
(
-
2147483647
-
1
)
INT_MAX
=
2147483647
LONG_MIN
=
(
-
2147483647
-
1
)
LONG_MAX
=
2147483647
OFF32_MAX
=
LONG_MAX
ISTAT_ASSERTED
=
0
ISTAT_ASSUMED
=
1
ISTAT_NONE
=
2
OFF_MAX
=
OFF32_MAX
CLOCK_MAX
=
LONG_MAX
P_MYID
=
(
-
1
)
P_MYHOSTID
=
(
-
1
)
# Included from sys/select.h
FD_SETSIZE
=
4096
NBBY
=
8
NULL
=
0
NCC
=
8
NCCS
=
19
VINTR
=
0
VQUIT
=
1
VERASE
=
2
VKILL
=
3
VEOF
=
4
VEOL
=
5
VEOL2
=
6
VMIN
=
4
VTIME
=
5
VSWTCH
=
7
VSTART
=
8
VSTOP
=
9
VSUSP
=
10
VDSUSP
=
11
VREPRINT
=
12
VDISCARD
=
13
VWERASE
=
14
VLNEXT
=
15
VCEOF
=
NCC
VCEOL
=
(
NCC
+
1
)
_POSIX_VDISABLE
=
0
def
CTRL
(
c
):
return
((
c
)
&
037
)
CINTR
=
ord
(
'
\177
'
)
CQUIT
=
CTRL
(
ord
(
'
\\
'
))
CERASE
=
CTRL
(
ord
(
'H'
))
CKILL
=
CTRL
(
ord
(
'U'
))
CEOF
=
CTRL
(
ord
(
'D'
))
CEOL
=
_POSIX_VDISABLE
CEOL2
=
_POSIX_VDISABLE
CNSWTCH
=
_POSIX_VDISABLE
CSTART
=
CTRL
(
ord
(
'Q'
))
CSTOP
=
CTRL
(
ord
(
'S'
))
CSUSP
=
CTRL
(
ord
(
'Z'
))
CDSUSP
=
CTRL
(
ord
(
'Y'
))
CREPRINT
=
CTRL
(
ord
(
'R'
))
CDISCARD
=
CTRL
(
ord
(
'O'
))
CWERASE
=
CTRL
(
ord
(
'W'
))
CLNEXT
=
CTRL
(
ord
(
'V'
))
CNUL
=
_POSIX_VDISABLE
CBRK
=
ord
(
'
\377
'
)
CDEL
=
ord
(
'
\377
'
)
CESC
=
ord
(
'
\\
'
)
CEOT
=
CTRL
(
ord
(
'D'
))
CSWTCH
=
CTRL
(
ord
(
'Z'
))
CRPRNT
=
CREPRINT
CFLUSH
=
CDISCARD
IGNBRK
=
0x00000001
BRKINT
=
0x00000002
IGNPAR
=
0x00000004
PARMRK
=
0x00000008
INPCK
=
0x00000010
ISTRIP
=
0x00000020
INLCR
=
0x00000040
IGNCR
=
0x00000080
ICRNL
=
0x00000100
IUCLC
=
0x00000200
IXON
=
0x00000400
IXANY
=
0x00000800
IXOFF
=
0x00001000
IMAXBEL
=
0x00002000
DOSMODE
=
0x00008000
OPOST
=
0x00000001
OLCUC
=
0x00000002
ONLCR
=
0x00000004
OCRNL
=
0x00000008
ONOCR
=
0x00000010
ONLRET
=
0x00000020
OFILL
=
0x00000040
OFDEL
=
0x00000080
NLDLY
=
0x00000100
NL0
=
0
NL1
=
0x00000100
CRDLY
=
0x00000600
CR0
=
0
CR1
=
0x00000200
CR2
=
0x00000400
CR3
=
0x00000600
TABDLY
=
0x00001800
TAB0
=
0
TAB1
=
0x00000800
TAB2
=
0x00001000
TAB3
=
0x00001800
BSDLY
=
0x00002000
BS0
=
0
BS1
=
0x00002000
VTDLY
=
0x00004000
VT0
=
0
VT1
=
0x00004000
FFDLY
=
0x00008000
FF0
=
0
FF1
=
0x00008000
XTABS
=
TAB3
PAGEOUT
=
0x00010000
WRAP
=
0x00020000
CBAUD
=
0x0000000F
CSIZE
=
0x00000030
CS5
=
0
CS6
=
0x00000010
CS7
=
0x00000020
CS8
=
0x00000030
CSTOPB
=
0x00000040
CREAD
=
0x00000080
PARENB
=
0x00000100
PARODD
=
0x00000200
HUPCL
=
0x00000400
CLOCAL
=
0x00000800
RCV1EN
=
0x00001000
XMT1EN
=
0x00002000
LOBLK
=
0x00004000
XCLUDE
=
0x00008000
CIBAUD
=
0x000F0000
IBSHIFT
=
16
PAREXT
=
0x00100000
B0
=
0
B50
=
1
B75
=
2
B110
=
3
B134
=
4
B150
=
5
B200
=
6
B300
=
7
B600
=
8
B1200
=
9
B1800
=
10
B2400
=
11
B4800
=
12
B9600
=
13
B19200
=
14
B38400
=
15
EXTA
=
B19200
EXTB
=
B38400
ISIG
=
0x00000001
ICANON
=
0x00000002
XCASE
=
0x00000004
ECHO
=
0x00000008
ECHOE
=
0x00000010
ECHOK
=
0x00000020
ECHONL
=
0x00000040
NOFLSH
=
0x00000080
TOSTOP
=
0x00000100
ECHOCTL
=
0x00000200
ECHOPRT
=
0x00000400
ECHOKE
=
0x00000800
DEFECHO
=
0x00001000
FLUSHO
=
0x00002000
PENDIN
=
0x00004000
IEXTEN
=
0x00008000
IOCTYPE
=
0xff00
TIOC
=
(
ord
(
'T'
)
<<
8
)
TCGETA
=
(
TIOC
|
1
)
TCSETA
=
(
TIOC
|
2
)
TCSETAW
=
(
TIOC
|
3
)
TCSETAF
=
(
TIOC
|
4
)
TCSBRK
=
(
TIOC
|
5
)
TCXONC
=
(
TIOC
|
6
)
TCFLSH
=
(
TIOC
|
7
)
TIOCKBON
=
(
TIOC
|
8
)
TIOCKBOF
=
(
TIOC
|
9
)
KBENABLED
=
(
TIOC
|
10
)
KB_XSCANCODE
=
4
KB_ISSCANCODE
=
8
TCDSET
=
(
TIOC
|
32
)
RTS_TOG
=
(
TIOC
|
33
)
TIOCGWINSZ
=
(
TIOC
|
104
)
TIOCSWINSZ
=
(
TIOC
|
103
)
TCGETS
=
(
TIOC
|
13
)
TCSETS
=
(
TIOC
|
14
)
TCSANOW
=
((
ord
(
'T'
)
<<
8
)
|
14
)
TCSETSW
=
(
TIOC
|
15
)
TCSADRAIN
=
((
ord
(
'T'
)
<<
8
)
|
15
)
TCSETSF
=
(
TIOC
|
16
)
TCSAFLUSH
=
((
ord
(
'T'
)
<<
8
)
|
16
)
TCIFLUSH
=
0
TCOFLUSH
=
1
TCIOFLUSH
=
2
TCOOFF
=
0
TCOON
=
1
TCIOFF
=
2
TCION
=
3
tIOC
=
(
ord
(
't'
)
<<
8
)
TI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CSIGNAL
=
(
tIOC
|
31
)
LDIOC
=
(
ord
(
'D'
)
<<
8
)
LDOPEN
=
(
LDIOC
|
0
)
LDCLOSE
=
(
LDIOC
|
1
)
LDCHG
=
(
LDIOC
|
2
)
LDGETT
=
(
LDIOC
|
8
)
LDSETT
=
(
LDIOC
|
9
)
LDSMAP
=
(
LDIOC
|
10
)
LDGMAP
=
(
LDIOC
|
11
)
LDNMAP
=
(
LDIOC
|
12
)
DIOC
=
(
ord
(
'd'
)
<<
8
)
DIOCGETP
=
(
DIOC
|
8
)
DIOCSETP
=
(
DIOC
|
9
)
FIORDCHK
=
((
ord
(
'f'
)
<<
8
)
|
3
)
Lib/plat-unixware7/regen
Dosyayı görüntüle @
ac6985f4
...
...
@@ -6,7 +6,5 @@ UnixWare*) ;;
esac
set
-v
h2py /usr/include/sys/fcntl.h
h2py /usr/include/sys/socket.h
h2py
-i
'(u_long)'
/usr/include/netinet/in.h
h2py /usr/include/termios.h
h2py /usr/include/sys/stropts.h
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment