Notmuch-specific Mailbox data. More...
Include dependency graph for mdata.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | NmMboxData |
| Notmuch-specific Mailbox data -. More... | |
Functions | |
| void | nm_mdata_free (void **ptr) |
| Free the private Mailbox data - Implements Mailbox::mdata_free() -. | |
| struct NmMboxData * | nm_mdata_get (struct Mailbox *m) |
| Get the Notmuch Mailbox data. | |
| struct NmMboxData * | nm_mdata_new (const char *url) |
| Create a new NmMboxData object from a query. | |
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.h.
| struct NmMboxData * nm_mdata_get | ( | struct Mailbox * | m | ) |
| 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.
Here is the call graph for this function:
Here is the caller graph for this function: