Remove protocol names, instead use an enum with common protocols
authorAlexander Larsson <alexl@redhat.com>
Wed, 20 May 2009 10:01:29 +0000 (12:01 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 20 May 2009 10:14:50 +0000 (12:14 +0200)
commit5cd86fbda662defa03709a9277b25784d953541e
tree0dd26830ced0de16a8cbe047c016f1a214a8c08a
parent6d01593b061afb52d22891a371fb29f42d4d62cc
Remove protocol names, instead use an enum with common protocols

The whole protocol name thing is pretty weird. The getprotobyname functions
seem to only specify one mapping for name <-> ids, so all families/types
must use the same values. Plus the values used for the protocols are
standardized by IANA, so are always the same.

So, we drop using names for protocols, intead introducing an enum with
a few commonly availible and used protocols.
16 files changed:
docs/reference/gio/#gio-unused.txt# [new file with mode: 0644]
docs/reference/gio/aa [new file with mode: 0644]
docs/reference/gio/b [new file with mode: 0644]
docs/reference/gio/bb [new file with mode: 0644]
docs/reference/gio/gio-sections.txt
gio/gio.symbols
gio/gioenums.h
gio/gsocket.c
gio/gsocket.h
gio/gsocketclient.c
gio/gsocketclient.h
gio/gsocketconnection.c
gio/gsocketlistener.c
gio/gsocketlistener.h
gio/gtcpconnection.c
gio/gunixconnection.c