]> git.saurik.com Git - apple/icu.git/blame - icuSources/common/localsvc.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / common / localsvc.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
73c04bcf
A
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
3d1f044b 15#if defined(U_LOCAL_SERVICE_HOOK) && U_LOCAL_SERVICE_HOOK
73c04bcf
A
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 */
24U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status);
25#endif
26
27#endif