Include dependency graph for expando.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | Expando |
| Parsed Expando trees. More... | |
Functions | |
| void | expando_free (struct Expando **ptr) |
| Free an Expando object. | |
| struct Expando * | expando_new (const char *format) |
| Create an Expando from a string. | |
| bool | expando_equal (const struct Expando *a, const struct Expando *b) |
| Compare two expandos. | |
| struct Expando * | expando_parse (const char *str, const struct ExpandoDefinition *defs, struct Buffer *err) |
| Parse an Expando string. | |
| int | expando_render (const struct Expando *exp, const struct ExpandoRenderCallback *erc, void *data, MuttFormatFlags flags, int max_cols, struct Buffer *buf) |
| Render an Expando + data into a string. | |
Parsed Expando.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file expando.h.
| void expando_free | ( | struct Expando ** | ptr | ) |
Free an Expando object.
| [out] | ptr | Expando to free |
Definition at line 61 of file expando.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct Expando * expando_new | ( | const char * | format | ) |
Create an Expando from a string.
| format | Format string to parse |
| ptr | New Expando object |
Definition at line 49 of file expando.c.
Here is the call graph for this function:
Here is the caller graph for this function:Compare two expandos.
| true | They are identical |
Definition at line 137 of file expando.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct Expando * expando_parse | ( | const char * | str, |
| const struct ExpandoDefinition * | defs, | ||
| struct Buffer * | err | ||
| ) |
Parse an Expando string.
| ptr | New Expando |
Definition at line 81 of file expando.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int expando_render | ( | const struct Expando * | exp, |
| const struct ExpandoRenderCallback * | erc, | ||
| void * | data, | ||
| MuttFormatFlags | flags, | ||
| int | max_cols, | ||
| struct Buffer * | buf | ||
| ) |
Render an Expando + data into a string.
| [in] | exp | Expando containing the expando tree |
| [in] | erc | Expando render callback functions |
| [in] | data | Callback data |
| [in] | flags | Callback flags |
| [in] | max_cols | Number of screen columns (-1 means unlimited) |
| [out] | buf | Buffer in which to save string |
| num | Number of bytes written to buf and screen columns used |
Definition at line 118 of file expando.c.
Here is the call graph for this function:
Here is the caller graph for this function: