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.
This commit is contained in:
Alexander Larsson
2009-05-20 12:01:29 +02:00
parent 6d01593b06
commit 5cd86fbda6
16 changed files with 417 additions and 172 deletions

77
docs/reference/gio/bb Normal file
View File

@@ -0,0 +1,77 @@
xml/api-index-2.18.xml
xml/api-index-2.18..xml
xml/api-index-2,20.xml
xml/api-index-2.20.xml
xml/api-index-2.22.xml
xml/api-index-2.22..xml
xml/api-index-deprecated.xml
xml/api-index-full.xml
xml/extensionpoints.xml
xml/gappinfo.xml
xml/gasyncinitable.xml
xml/gasyncresult.xml
xml/gbufferedinputstream.xml
xml/gbufferedoutputstream.xml
xml/gcancellable.xml
xml/gcontenttype.xml
xml/gdatainputstream.xml
xml/gdataoutputstream.xml
xml/gdesktopappinfo.xml
xml/gdrive.xml
xml/gemblemedicon.xml
xml/gemblem.xml
xml/gfileattribute.xml
xml/gfileenumerator.xml
xml/gfileicon.xml
xml/gfileinfo.xml
xml/gfileinputstream.xml
xml/gfileiostream.xml
xml/gfilemonitor.xml
xml/gfilenamecompleter.xml
xml/gfileoutputstream.xml
xml/gfile.xml
xml/gfilterinputstream.xml
xml/gfilteroutputstream.xml
xml/gicon.xml
xml/ginetaddress.xml
xml/ginetsocketaddress.xml
xml/ginitable.xml
xml/ginputstream.xml
xml/gioerror.xml
xml/giomodule.xml
xml/gioscheduler.xml
xml/giostream.xml
xml/gloadableicon.xml
xml/gmemoryinputstream.xml
xml/gmemoryoutputstream.xml
xml/gmountoperation.xml
xml/gmount.xml
xml/gnetworkaddress.xml
xml/gnetworkservice.xml
xml/goutputstream.xml
xml/gresolver.xml
xml/gseekable.xml
xml/gsimpleasyncresult.xml
xml/gsocketaddress.xml
xml/gsocketclient.xml
xml/gsocketconnectable.xml
xml/gsocketconnection.xml
xml/gsocketcontrolmessage.xml
xml/gsocketlistener.xml
xml/gsocketservice.xml
xml/gsocket.xml
xml/gsrvtarget.xml
xml/gtcpconnection.xml
xml/gthemedicon.xml
xml/gthreadedsocketservice.xml
xml/gunixconnection.xml
xml/gunixfdmessage.xml
xml/gunixinputstream.xml
xml/gunixmounts.xml
xml/gunixoutputstream.xml
xml/gunixsocketaddress.xml
xml/gvfs.xml
xml/gvolumemonitor.xml
xml/gvolume.xml
xml/migrating.xml
xml/overview.xml