unimrcp_server.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright 2008-2014 Arsen Chaloyan
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. *
  16. * $Id: unimrcp_server.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
  17. */
  18. #ifndef UNIMRCP_SERVER_H
  19. #define UNIMRCP_SERVER_H
  20. /**
  21. * @file unimrcp_server.h
  22. * @brief UniMRCP Server
  23. */
  24. #include "mrcp_server.h"
  25. APT_BEGIN_EXTERN_C
  26. /**
  27. * Start UniMRCP server.
  28. * @param dir_layout the dir layout structure
  29. */
  30. MRCP_DECLARE(mrcp_server_t*) unimrcp_server_start(apt_dir_layout_t *dir_layout);
  31. /**
  32. * Shutdown UniMRCP server.
  33. * @param server the MRCP server to shutdown
  34. */
  35. MRCP_DECLARE(apt_bool_t) unimrcp_server_shutdown(mrcp_server_t *server);
  36. APT_END_EXTERN_C
  37. #endif /* UNIMRCP_SERVER_H */