Imported Upstream version 1.20.1
[platform/upstream/krb5.git] / doc / html / _sources / appdev / refs / api / krb5_pac_get_buffer.rst.txt
1 krb5_pac_get_buffer -  Retrieve a buffer value from a PAC. 
2 ===========================================================
3
4 ..
5
6 .. c:function:: krb5_error_code krb5_pac_get_buffer(krb5_context context, krb5_pac pac, krb5_ui_4 type, krb5_data * data)
7
8 ..
9
10
11 :param:
12
13                   **[in]** **context** - Library context
14
15                   **[in]** **pac** - PAC handle
16
17                   **[in]** **type** - Type of buffer to retrieve
18
19                   **[out]** **data** - Buffer value
20
21
22 ..
23
24
25 :retval:
26          -   0   Success; otherwise - Kerberos error codes
27
28
29 ..
30
31
32
33
34
35
36
37 Use :c:func:`krb5_free_data_contents()` to free *data* when it is no longer needed.
38
39
40
41
42
43
44
45
46
47
48 ..
49
50
51
52
53