ftp_directory_listing_parser_os2.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
1// Copyright (c) 2011 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_OS2_H_
6#define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_OS2_H_
7
8#include <vector>
9
10#include "base/string16.h"
11#include "net/base/net_export.h"
12
13namespace net {
14
15struct FtpDirectoryListingEntry;
16
17// Parses OS/2 FTP directory listing. Returns true on success.
18NET_EXPORT_PRIVATE bool ParseFtpDirectoryListingOS2(
19    const std::vector<string16>& lines,
20    std::vector<FtpDirectoryListingEntry>* entries);
21
22}  // namespace net
23
24#endif  // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_OS2_H_
25