Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  prdescidentity.rst   Sprache: unbekannt

 
Spracherkennung für: .rst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

PRDescIdentity
==============

The identity of a file descriptor's layer.


Syntax
------

.. code::

   #include <prio.h>

   typedef PRUintn PRDescIdentity;


Description
-----------

File descriptors may be layered. Each layer has it own identity.
Identities are allocated by the runtime and are to be associated (by the
layer implementer) with all file descriptors of that layer. It is then
possible to scan the chain of layers and find a layer that one
recognizes, then predict that it will implement a desired protocol.

There are three well-known identities:

 - ``PR_INVALID_IO_LAYER``, an invalid layer identity, for error return
 - ``PR_TOP_IO_LAYER``, the identity of the top of the stack
 - ``PR_NSPR_IO_LAYER``, the identity used by NSPR proper

Layers are created by :ref:`PR_GetUniqueIdentity`. A string may be
associated with a layer when the layer is created. The string is copied
by the runtime, and :ref:`PR_GetNameForIdentity` returns a reference to
that copy. There is no way to delete a layer's identity after the layer
is created.

[Dauer der Verarbeitung: 0.33 Sekunden]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002