TipcSubjectValid check if a subject name is a valid subject
subject
the subject name to validate
TRUE
if the subject name is a valid subject, FALSE
otherwise.
None
TipcSubjectValid checks that a subject name is a valid subject. Invalid subject names are either NULL
or contain nothing but white space and subject delimiters (for example, '/
').
None
TipcSubjectMatch, TipcSubjectGetUnique
This example checks if a subject name is valid:
T_STR subject = "/stocks/t*";/*
* This will result in a valid subject name.
*/
if (!TipcSubjectValid(subject)) {/* invalid subject */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |