spool_name_to_mid

March 26, 2020 Contributors

Name

spool_name_to_mid — Create a message ID

Synopsis

#include "spool.h"

| int **spool_name_to_mid** ( | mid, |   |
|   | name); |   |

message_id * <var class="pdparam">mid</var>;
const char * <var class="pdparam">name</var>;

Description

Create a message ID.

Parameters

mid

The message id.

name

The spool name.

Return Values

On success, this function returns 1; on failure, 0 is returned. After execution, mid contains the message id.

Threading

It is legal to call this function in any thread.

See Also

“message_id”