[#OBJ_add_object]
= OBJ&lowbar;add&lowbar;object
:mrdocs:

Add `obj` to the process&hyphen;wide object database (NID&sol;sn&sol;ln tables)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OBJ&lowbar;add&lowbar;object(xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT] const* obj);
----

== Return Value

New NID on success, or NID&lowbar;undef on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *obj*
| Object identifier to register (copied internally as needed)&period;
|===


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