pips_publication_assert_flags()
Verify a publication's creation flags
Synopsis:
#include <pips/publication.h>bool pips_publication_assert_flags(const pips_publication_t *publication,
const unsigned flags)Arguments:
- publication
- A publication instance whose creation flags are being asserted
- flags
- A bitfield of creation flags to assert
Library:
pips-clientDescription:
This function asserts that the given publication was created with the specified flags. The publication's current flags don't have to match exactly those that were set when the publication was created, but the publication must have been created with at least the specified flags.
Returns:
- true
- The specified flags were set when the given publication was created
- false
- One or more of the specified flags were not set when the given publication was created
Page updated:
