]> git.saurik.com Git - apple/icu.git/blame - icuSources/common/localsvc.h
ICU-57163.0.1.tar.gz
[apple/icu.git] / icuSources / common / localsvc.h
CommitLineData
73c04bcf
A
1/*
2***************************************************************************
3* Copyright (C) 2006 International Business Machines Corporation *
4* and others. All rights reserved. *
5***************************************************************************
6*/
7
8#ifndef LOCALSVC_H
9#define LOCALSVC_H
10
11#include "unicode/utypes.h"
12
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 */
22U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status);
23#endif
24
25#endif