staticlib_unzip  1.0.6
 All Classes Namespaces Files Functions Variables
operations.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2015, alex at staticlibs.net
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 
17 /*
18  * File: operations.hpp
19  * Author: alex
20  *
21  * Created on October 8, 2015, 7:12 PM
22  */
23 
24 #ifndef STATICLIB_UNZIP_OPERATIONS_HPP
25 #define STATICLIB_UNZIP_OPERATIONS_HPP
26 
27 #include <memory>
28 #include <streambuf>
29 #include <string>
30 
32 
33 namespace staticlib {
34 namespace unzip {
35 
44 std::unique_ptr<std::streambuf> open_zip_entry(const file_index& idx, const std::string& entry_name);
45 
46 } // namespace
47 }
48 
49 #endif /* STATICLIB_UNZIP_OPERATIONS_HPP */
50