| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2003-2008, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: bsettop_fileio.h $ |
|---|
| 11 | * $brcm_Revision: 4 $ |
|---|
| 12 | * $brcm_Date: 3/6/08 2:01p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /BSEAV/api/include/bsettop_fileio.h $ |
|---|
| 19 | * |
|---|
| 20 | * 4 3/6/08 2:01p vsilyaev |
|---|
| 21 | * PR 36248: Pass mpeg parameters into the brecord_file_open_network and |
|---|
| 22 | * bfile_posix_out_network |
|---|
| 23 | * |
|---|
| 24 | * 3 8/9/07 5:51p jgarrett |
|---|
| 25 | * PR 33830: Adding network record prototypes |
|---|
| 26 | * |
|---|
| 27 | * 2 4/22/05 8:02p vsilyaev |
|---|
| 28 | * PR 14988: Added API to open "chunked" files. |
|---|
| 29 | * |
|---|
| 30 | * 1 2/7/05 7:09p dlwin |
|---|
| 31 | * Merge down for release 2005_REFSW_MERGETOMAIN: |
|---|
| 32 | * |
|---|
| 33 | * Irvine_BSEAVSW_Devel/1 7/30/03 9:38a erickson |
|---|
| 34 | * added fileio.h |
|---|
| 35 | * |
|---|
| 36 | ***************************************************************************/ |
|---|
| 37 | #ifndef BSETTOP_FILEIO_H__ |
|---|
| 38 | #define BSETTOP_FILEIO_H__ |
|---|
| 39 | |
|---|
| 40 | #include "bsettop_types.h" |
|---|
| 41 | #include "bsettop_stream.h" |
|---|
| 42 | |
|---|
| 43 | #ifdef __cplusplus |
|---|
| 44 | extern "C" { |
|---|
| 45 | #endif |
|---|
| 46 | |
|---|
| 47 | brecord_file_t bfile_posix_out(const char *fname, const char *indexname); |
|---|
| 48 | brecord_file_t bfile_posix_out_network(const char *fname, const char *indexname, const bsocket_params *params, const bstream_mpeg * mpeg_info); |
|---|
| 49 | bplayback_file_t bfile_posix_in(const char *fname, const char *indexname); |
|---|
| 50 | |
|---|
| 51 | /* for two functions bellow fname shall be name of already existing directory */ |
|---|
| 52 | brecord_file_t bfile_chunk_out(const char *fname, const char *indexname, brecord_file_t (*open_out)(const char *fname, const char *indexname)); |
|---|
| 53 | bplayback_file_t bfile_chunk_in(const char *fname, const char *indexname, bplayback_file_t (*open_in)(const char *fname, const char *indexname)); |
|---|
| 54 | |
|---|
| 55 | #ifdef __cplusplus |
|---|
| 56 | } |
|---|
| 57 | #endif |
|---|
| 58 | |
|---|
| 59 | #endif /* BSETTOP_FILEIO_H__ */ |
|---|