Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /*
2 ***************************************************************************
3 * Copyright (C) 2006 International Business Machines Corporation *
4 * and others. All rights reserved. *
5 ***************************************************************************
6 */
8 #ifndef LOCALSVC_H
9 #define LOCALSVC_H
11 #include "unicode/utypes.h"
13 #if U_LOCAL_SERVICE_HOOK
14 /**
15 * Prototype for user-supplied service hook. This function is expected to return
16 * a type of factory object specific to the requested service.
17 *
18 * @param what service-specific string identifying the specific user hook
19 * @param status error status
20 * @return a service-specific hook, or NULL on failure.
21 */
22 U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status);
23 #endif
25 #endif