Back to index

courier  0.68.2
maildirkeywords4.cpp File Reference
#include "maildirkeywords.h"
#include <iostream>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <vector>

Go to the source code of this file.


int maildir_kwSave (const char *maildir, const char *filename, set< string > keywords, char **tmpname, char **newname, int tryAtomic)

Function Documentation

int maildir_kwSave ( const char *  maildir,
const char *  filename,
set< string >  keywords,
char **  tmpname,
char **  newname,
int  tryAtomic 

Definition at line 161 of file maildirkeywords4.cpp.

       vector<const char *> keywordArray;
       set<string>::iterator b, e;


       for (b=keywords.begin(), e=keywords.end(); b != e; ++b)

       keywordArray.push_back((const char *)NULL);
       return maildir_kwSaveArray(maildir, filename, &keywordArray[0],
                               tmpname, newname, tryAtomic);

Here is the call graph for this function: