[#OBJ_NAME_add]
= OBJ&lowbar;NAME&lowbar;add
:mrdocs:

Register a name&hyphen;to&hyphen;data mapping in the OBJ&lowbar;NAME table (legacy aliases)&period;

== Synopsis

Declared in `&lt;openssl&sol;objects&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OBJ&lowbar;NAME&lowbar;add(
    char const* name,
    int type,
    char const* data);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| Alias string to add&period;
| *type*
| OBJ&lowbar;NAME&lowbar;TYPE&lowbar;&ast; class for the alias&period;
| *data*
| Canonical name or payload associated with `name&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
