]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/localsvc.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 ***************************************************************************
5 * Copyright (C) 2006 International Business Machines Corporation *
6 * and others. All rights reserved. *
7 ***************************************************************************
13 #include "unicode/utypes.h"
15 #if U_LOCAL_SERVICE_HOOK
17 * Prototype for user-supplied service hook. This function is expected to return
18 * a type of factory object specific to the requested service.
20 * @param what service-specific string identifying the specific user hook
21 * @param status error status
22 * @return a service-specific hook, or NULL on failure.
24 U_CAPI
void* uprv_svc_hook(const char *what
, UErrorCode
*status
);