1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 ***************************************************************************
5 *   Copyright (C) 2006 International Business Machines Corporation        *
6 *   and others. All rights reserved.                                      *
7 ***************************************************************************
8 */
9 
10 #ifndef LOCALSVC_H
11 #define LOCALSVC_H
12 
13 #include "unicode/utypes.h"
14 
15 #if U_LOCAL_SERVICE_HOOK
16 /**
17  * Prototype for user-supplied service hook. This function is expected to return
18  * a type of factory object specific to the requested service.
19  *
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.
23  */
24 U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status);
25 #endif
26 
27 #endif
28