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