$darkmode
Herb C Reference
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 
6 typedef enum {
10 
11 void herb_extract_ruby_to_buffer(const char* source, buffer_T* output);
12 void herb_extract_html_to_buffer(const char* source, buffer_T* output);
13 
14 char* herb_extract_ruby_with_semicolons(const char* source);
15 void herb_extract_ruby_to_buffer_with_semicolons(const char* source, buffer_T* output);
16 
17 char* herb_extract(const char* source, herb_extract_language_T language);
18 char* 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:144
char * herb_extract(const char *source, herb_extract_language_T language)
Definition: extract.c:132
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_ruby_with_semicolons(const char *source)
Definition: extract.c:123
void herb_extract_ruby_to_buffer(const char *source, buffer_T *output)
Definition: extract.c:58
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:106
Definition: buffer.h:7