Notmuch-specific Mailbox data. More...
#include "config.h"
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "mdata.h"
#include "progress/lib.h"
#include "query.h"
Go to the source code of this file.
Functions | |
void | nm_mdata_free (void **ptr) |
Free the private Mailbox data - Implements Mailbox::mdata_free() -. | |
struct NmMboxData * | nm_mdata_new (const char *url) |
Create a new NmMboxData object from a query. | |
struct NmMboxData * | nm_mdata_get (struct Mailbox *m) |
Get the Notmuch Mailbox data. | |
Notmuch-specific Mailbox data.
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 mdata.c.
struct NmMboxData * nm_mdata_new | ( | const char * | url | ) |
Create a new NmMboxData object from a query.
url | Notmuch query string |
ptr | New NmMboxData struct |
A new NmMboxData struct is created, then the query is parsed and saved within it. This should be freed using nm_mdata_free().
Definition at line 68 of file mdata.c.