Rev 3912 | Rev 4307 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3912 | Rev 4271 | ||
|---|---|---|---|
| Line 68... | Line 68... | ||
| 68 | * @returns The new bundled character string with measured length. |
68 | * @returns The new bundled character string with measured length. |
| 69 | * @returns NULL if there is not enough memory left. |
69 | * @returns NULL if there is not enough memory left. |
| 70 | */ |
70 | */ |
| 71 | measured_string_ref measured_string_create_bulk( const char * string, size_t length ); |
71 | measured_string_ref measured_string_create_bulk( const char * string, size_t length ); |
| 72 | 72 | ||
| - | 73 | /** Copies the given measured string with separated header and data parts. |
|
| - | 74 | * @param source The source measured string to be copied. Input parameter. |
|
| - | 75 | * @returns The copy of the given measured string. |
|
| - | 76 | * @returns NULL if the source parameter is NULL. |
|
| - | 77 | * @returns NULL if there is not enough memory left. |
|
| - | 78 | */ |
|
| - | 79 | measured_string_ref measured_string_copy( measured_string_ref source ); |
|
| - | 80 | ||
| 73 | /** Receives a measured strings array from a calling module. |
81 | /** Receives a measured strings array from a calling module. |
| 74 | * Creates the array and the data memory blocks. |
82 | * Creates the array and the data memory blocks. |
| 75 | * This method should be used only while processing IPC messages as the array size has to be negotiated in advance. |
83 | * This method should be used only while processing IPC messages as the array size has to be negotiated in advance. |
| 76 | * @param strings The received measured strings array. Output parameter. |
84 | * @param strings The received measured strings array. Output parameter. |
| 77 | * @param data The measured strings data. This memory block stores the actual character strings. Output parameter. |
85 | * @param data The measured strings data. This memory block stores the actual character strings. Output parameter. |