pr_importfilemapfromstring.rst (624B)
1 PR_ImportFileMapFromString 2 ========================== 3 4 Creates a :ref:`PRFileMap` from an identifying string. 5 6 7 Syntax 8 ~~~~~~ 9 10 .. code:: 11 12 #include <prshma.h> 13 14 NSPR_API( PRFileMap * ) 15 PR_ImportFileMapFromString( 16 const char *fmstring 17 ); 18 19 20 Parameter 21 ~~~~~~~~~ 22 23 The function has the following parameter: 24 25 fmstring 26 A pointer to string created by :ref:`PR_ExportFileMapAsString`. 27 28 29 Returns 30 ~~~~~~~ 31 32 :ref:`PRFileMap` pointer or ``NULL`` on error. 33 34 35 Description 36 ----------- 37 38 :ref:`PR_ImportFileMapFromString` creates a :ref:`PRFileMap` object from a 39 string previously created by :ref:`PR_ExportFileMapAsString`.