Herb C Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
extract.h
Go to the documentation of this file.
1#ifndef HERB_EXTRACT_H
2#define HERB_EXTRACT_H
3
4#include "buffer.h"
5
10
11void herb_extract_ruby_to_buffer(const char* source, buffer_T* output);
12void herb_extract_html_to_buffer(const char* source, buffer_T* output);
13
14char* herb_extract_ruby_with_semicolons(const char* source);
15void herb_extract_ruby_to_buffer_with_semicolons(const char* source, buffer_T* output);
16
17char* herb_extract(const char* source, herb_extract_language_T language);
18char* herb_extract_from_file(const char* path, herb_extract_language_T language);
19
20#endif
char * herb_extract_from_file(const char *path, herb_extract_language_T language)
Definition extract.c:134
herb_extract_language_T
Definition extract.h:6
@ HERB_EXTRACT_LANGUAGE_HTML
Definition extract.h:8
@ HERB_EXTRACT_LANGUAGE_RUBY
Definition extract.h:7
char * herb_extract(const char *source, herb_extract_language_T language)
Definition extract.c:122
char * herb_extract_ruby_with_semicolons(const char *source)
Definition extract.c:113
void herb_extract_ruby_to_buffer(const char *source, buffer_T *output)
Definition extract.c:54
void herb_extract_ruby_to_buffer_with_semicolons(const char *source, buffer_T *output)
Definition extract.c:9
void herb_extract_html_to_buffer(const char *source, buffer_T *output)
Definition extract.c:98
Definition buffer.h:7