michael@0: /* michael@0: *************************************************************************** michael@0: * Copyright (C) 2006 International Business Machines Corporation * michael@0: * and others. All rights reserved. * michael@0: *************************************************************************** michael@0: */ michael@0: michael@0: #ifndef LOCALSVC_H michael@0: #define LOCALSVC_H michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if U_LOCAL_SERVICE_HOOK michael@0: /** michael@0: * Prototype for user-supplied service hook. This function is expected to return michael@0: * a type of factory object specific to the requested service. michael@0: * michael@0: * @param what service-specific string identifying the specific user hook michael@0: * @param status error status michael@0: * @return a service-specific hook, or NULL on failure. michael@0: */ michael@0: U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status); michael@0: #endif michael@0: michael@0: #endif