Type representing a sort option. More...
#include "config.h"#include <stdbool.h>#include <stdint.h>#include <string.h>#include "mutt/lib.h"#include "sort.h"#include "set.h"#include "types.h"
Include dependency graph for sort.c:Go to the source code of this file.
Macros | |
| #define | PREFIX_REVERSE "reverse-" |
| #define | PREFIX_LAST "last-" |
Functions | |
| static int | sort_string_set (void *var, struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Set a Sort by string - Implements ConfigSetType::string_set() -. | |
| static int | sort_string_get (void *var, const struct ConfigDef *cdef, struct Buffer *result) |
| Get a Sort as a string - Implements ConfigSetType::string_get() -. | |
| static int | sort_native_set (void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
| Set a Sort config item by int - Implements ConfigSetType::native_set() -. | |
| static intptr_t | sort_native_get (void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Get an int from a Sort config item - Implements ConfigSetType::native_get() -. | |
| static bool | sort_has_been_set (void *var, const struct ConfigDef *cdef) |
| Is the config value different to its initial value? | |
| static int | sort_reset (void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Reset a Sort to its initial value - Implements ConfigSetType::reset() -. | |
Variables | |
| const struct ConfigSetType | CstSort |
| Config type representing a sort option. | |
Type representing a sort option.
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 sort.c.
| const struct ConfigSetType CstSort |
Config type representing a sort option.
Definition at line 229 of file sort.c.