Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.2

# P4Libraries - static initialization of required libraries

Performs static initialization of libraries required to use P4API. If the host application handles some of them itself (such as if it has its own copy of one of the libraries) then the initialization can be skipped by passing a combination of `P4LibrariesInits` values that are OR'd together.

The `P4LibrariesInits` values are defined in the enum in `p4libs.h` as follows:

    enum P4LibrariesInits
    {
        P4LIBRARIES_INIT_P4     = 0x01,
        P4LIBRARIES_INIT_SQLITE = 0x02,
        P4LIBRARIES_INIT_CURL   = 0x04,
        P4LIBRARIES_INIT_OPENSSL= 0x08,
        P4LIBRARIES_INIT_ALL    = 0x0F,
    };

See P4Libraries methods.

Your search for returned results