Shared code. More...
#include "config.h"
#include <ctype.h>
#include <stddef.h>
#include "mutt/lib.h"
#include "helpers.h"
#include "mutt_thread.h"
#include "render.h"
Go to the source code of this file.
Functions | |
const struct ExpandoRenderCallback * | find_get_number (const struct ExpandoRenderCallback *erc, int did, int uid) |
Find a get_number() callback function. | |
const struct ExpandoRenderCallback * | find_get_string (const struct ExpandoRenderCallback *erc, int did, int uid) |
Find a get_string() callback function. | |
void | buf_lower_special (struct Buffer *buf) |
Convert to lowercase, excluding special characters. | |
Shared code.
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 helpers.c.
const struct ExpandoRenderCallback * find_get_number | ( | const struct ExpandoRenderCallback * | erc, |
int | did, | ||
int | uid | ||
) |
Find a get_number() callback function.
erc | Render callbacks to search |
did | Domain ID to match |
uid | Unique ID to match |
ptr | Matching Render data |
Definition at line 45 of file helpers.c.
const struct ExpandoRenderCallback * find_get_string | ( | const struct ExpandoRenderCallback * | erc, |
int | did, | ||
int | uid | ||
) |
Find a get_string() callback function.
erc | Render callbacks to search |
did | Domain ID to match |
uid | Unique ID to match |
ptr | Matching Render data |
Definition at line 69 of file helpers.c.
void buf_lower_special | ( | struct Buffer * | buf | ) |
Convert to lowercase, excluding special characters.
buf | String to lowercase |
The string is transformed in place.
Definition at line 92 of file helpers.c.