Store attributes associated with a MIME part. More...
Include dependency graph for parameter.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | Parameter |
| Attribute associated with a MIME part. More... | |
Functions | |
| TAILQ_HEAD (ParameterList, Parameter) | |
| bool | mutt_param_cmp_strict (const struct ParameterList *pl1, const struct ParameterList *pl2) |
| Strictly compare two ParameterLists. | |
| void | mutt_param_delete (struct ParameterList *pl, const char *attribute) |
| Delete a matching Parameter. | |
| void | mutt_param_free (struct ParameterList *pl) |
| Free a ParameterList. | |
| void | mutt_param_free_one (struct Parameter **pl) |
| Free a Parameter. | |
| char * | mutt_param_get (const struct ParameterList *pl, const char *s) |
| Find a matching Parameter. | |
| struct Parameter * | mutt_param_new (void) |
| Create a new Parameter. | |
| void | mutt_param_set (struct ParameterList *pl, const char *attribute, const char *value) |
| Set a Parameter. | |
Store attributes associated with a MIME part.
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 parameter.h.
| TAILQ_HEAD | ( | ParameterList | , |
| Parameter | ) |
| bool mutt_param_cmp_strict | ( | const struct ParameterList * | pl1, |
| const struct ParameterList * | pl2 ) |
Strictly compare two ParameterLists.
| pl1 | First parameter |
| pl2 | Second parameter |
| true | Parameters are strictly identical |
Definition at line 166 of file parameter.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_param_delete | ( | struct ParameterList * | pl, |
| const char * | attribute ) |
Delete a matching Parameter.
| [in] | pl | ParameterList |
| [in] | attribute | Attribute to match |
Definition at line 143 of file parameter.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_param_free | ( | struct ParameterList * | pl | ) |
Free a ParameterList.
| pl | ParameterList to free |
Definition at line 62 of file parameter.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_param_free_one | ( | struct Parameter ** | p | ) |
| char * mutt_param_get | ( | const struct ParameterList * | pl, |
| const char * | s ) |
Find a matching Parameter.
| pl | ParameterList |
| s | String to match |
| ptr | Matching Parameter |
| NULL | No match |
Definition at line 85 of file parameter.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct Parameter * mutt_param_new | ( | void | ) |
Create a new Parameter.
| ptr | Newly allocated Parameter |
Definition at line 40 of file parameter.c.
Here is the caller graph for this function:| void mutt_param_set | ( | struct ParameterList * | pl, |
| const char * | attribute, | ||
| const char * | value ) |
Set a Parameter.
| [in] | pl | ParameterList |
| [in] | attribute | Attribute to match |
| [in] | value | Value to set |
Definition at line 111 of file parameter.c.
Here is the call graph for this function:
Here is the caller graph for this function: