Type representing a string. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include "mutt/lib.h"#include "set.h"#include "types.h"
Include dependency graph for string.c:Go to the source code of this file.
Functions | |
| static void | string_destroy (void *var, const struct ConfigDef *cdef) |
| Destroy a String - Implements ConfigSetType::destroy() -. | |
| static int | string_string_set (void *var, struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Set a String by string - Implements ConfigSetType::string_set() -. | |
| static int | string_string_get (void *var, const struct ConfigDef *cdef, struct Buffer *result) |
| Get a String as a string - Implements ConfigSetType::string_get() -. | |
| static int | string_native_set (void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
| Set a String config item by string - Implements ConfigSetType::native_set() -. | |
| static intptr_t | string_native_get (void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Get a string from a String config item - Implements ConfigSetType::native_get() -. | |
| static int | string_string_plus_equals (void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Add to a String by string - Implements ConfigSetType::string_plus_equals() -. | |
| static bool | string_has_been_set (void *var, const struct ConfigDef *cdef) |
| Is the config value different to its initial value? | |
| static int | string_reset (void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Reset a String to its initial value - Implements ConfigSetType::reset() -. | |
Variables | |
| const struct ConfigSetType | CstString |
| Config type representing a string. | |
Type representing a string.
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 string.c.
| const struct ConfigSetType CstString |
Config type representing a string.
Definition at line 282 of file string.c.