12e5b6d6dSopenharmony_ci// © 2016 and later: Unicode, Inc. and others. 22e5b6d6dSopenharmony_ci// License & terms of use: http://www.unicode.org/copyright.html 32e5b6d6dSopenharmony_ci/* 42e5b6d6dSopenharmony_ci*************************************************************************** 52e5b6d6dSopenharmony_ci* Copyright (C) 2006 International Business Machines Corporation * 62e5b6d6dSopenharmony_ci* and others. All rights reserved. * 72e5b6d6dSopenharmony_ci*************************************************************************** 82e5b6d6dSopenharmony_ci*/ 92e5b6d6dSopenharmony_ci 102e5b6d6dSopenharmony_ci#ifndef LOCALSVC_H 112e5b6d6dSopenharmony_ci#define LOCALSVC_H 122e5b6d6dSopenharmony_ci 132e5b6d6dSopenharmony_ci#include "unicode/utypes.h" 142e5b6d6dSopenharmony_ci 152e5b6d6dSopenharmony_ci#if defined(U_LOCAL_SERVICE_HOOK) && U_LOCAL_SERVICE_HOOK 162e5b6d6dSopenharmony_ci/** 172e5b6d6dSopenharmony_ci * Prototype for user-supplied service hook. This function is expected to return 182e5b6d6dSopenharmony_ci * a type of factory object specific to the requested service. 192e5b6d6dSopenharmony_ci * 202e5b6d6dSopenharmony_ci * @param what service-specific string identifying the specific user hook 212e5b6d6dSopenharmony_ci * @param status error status 222e5b6d6dSopenharmony_ci * @return a service-specific hook, or NULL on failure. 232e5b6d6dSopenharmony_ci */ 242e5b6d6dSopenharmony_ciU_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status); 252e5b6d6dSopenharmony_ci#endif 262e5b6d6dSopenharmony_ci 272e5b6d6dSopenharmony_ci#endif 28