summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_getlayersidentity.rst
blob: 88a06602bcdb65eb939e3f7c8fede962a2961e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PR_GetLayersIdentity
====================

Gets the unique identity for the layer of the specified file descriptor.


Syntax
------

.. code::

   #include <prio.h>

   PRDescIdentity PR_GetLayersIdentity(PRFileDesc* fd);


Parameter
~~~~~~~~~

The function has the following parameter:

``fd``
   A pointer to a file descriptor.


Returns
~~~~~~~

If successful, the function returns the :ref:`PRDescIdentity` for the layer
of the specified file descriptor.