Move the rest of the SB headers to interface files.
They are not docstring'ed yet.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135531 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBStream.i b/scripts/Python/interface/SBStream.i
new file mode 100644
index 0000000..5654360
--- /dev/null
+++ b/scripts/Python/interface/SBStream.i
@@ -0,0 +1,55 @@
+//===-- SWIG Interface for SBStream -----------------------------*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include <stdio.h>
+
+namespace lldb {
+
+class SBStream
+{
+public:
+
+    SBStream ();
+    
+    ~SBStream ();
+
+    bool
+    IsValid() const;
+
+    // If this stream is not redirected to a file, it will maintain a local
+    // cache for the stream data which can be accessed using this accessor.
+    const char *
+    GetData ();
+
+    // If this stream is not redirected to a file, it will maintain a local
+    // cache for the stream output whose length can be accessed using this 
+    // accessor.
+    size_t
+    GetSize();
+
+    void
+    Printf (const char *format, ...);
+
+    void
+    RedirectToFile (const char *path, bool append);
+
+    void
+    RedirectToFileHandle (FILE *fh, bool transfer_fh_ownership);
+
+    void
+    RedirectToFileDescriptor (int fd, bool transfer_fh_ownership);
+
+    // If the stream is redirected to a file, forget about the file and if
+    // ownership of the file was transfered to this object, close the file.
+    // If the stream is backed by a local cache, clear this cache.
+    void
+    Clear ();
+};
+
+} // namespace lldb