comparison cinst/mozilla.c @ 1053:78798d3af8f0

Fixed doxygen build warnings.
author Emanuel Schuetze <emanuel@intevation.de>
date Tue, 09 Sep 2014 15:22:19 +0200
parents a80abef948fa
children 317ee9dc4684
comparison
equal deleted inserted replaced
1052:0b2169f7ce09 1053:78798d3af8f0
10 * @brief Mozilla installation process 10 * @brief Mozilla installation process
11 * 11 *
12 * Reads from a file given on command line or stdin a list of 12 * Reads from a file given on command line or stdin a list of
13 * instructions in the form: 13 * instructions in the form:
14 * 14 *
15 * I:<base64 DER econded certificate> 15 * I:\<base64 DER econded certificate\> <BR>
16 * R:<base64 DER econded certificate> 16 * R:\<base64 DER econded certificate\>
17 * ... 17 * ...
18 * 18 *
19 * With one instruction per line. the maximum size of an input 19 * With one instruction per line. the maximum size of an input
20 * line is 9999 characters (including the \r\n) at the end of the line. 20 * line is 9999 characters (including the \\r\\n) at the end of the line.
21 * 21 *
22 * Certificates marked with I: will be installed and the ones 22 * Certificates marked with I: will be installed and the ones
23 * marked with R: will be searched and if available removed from 23 * marked with R: will be searched and if available removed from
24 * the databases. 24 * the databases.
25 * 25 *
151 * @brief Get a list of all mozilla profile directories 151 * @brief Get a list of all mozilla profile directories
152 * 152 *
153 * Parse the profiles.ini and extract all profile paths from that. 153 * Parse the profiles.ini and extract all profile paths from that.
154 * The expected data is in the form: 154 * The expected data is in the form:
155 * 155 *
156 * [Profile99] 156 * [Profile99]<BR>
157 * IsRelative=1 157 * IsRelative=1<BR>
158 * Path=Example/fooo.bar 158 * Path=Example/foo.bar
159 * 159 *
160 * or 160 * or<BR>
161 * [Profile0] 161 * [Profile0]<BR>
162 * IsRelative=0 162 * IsRelative=0<BR>
163 * Path=c:\foo\bar\baz 163 * Path=c:\\foo\\bar\\baz
164 * 164 *
165 * Mozilla also accepts the ini file on Windows even if it is UTF-16 165 * Mozilla also accepts the ini file on Windows even if it is UTF-16
166 * encoded but never writes UTF-16 on its own. So currently we ignore 166 * encoded but never writes UTF-16 on its own. So currently we ignore
167 * this special case. 167 * this special case.
168 * 168 *
547 /** 547 /**
548 * @brief Create a string with the name for cert in SECItem. 548 * @brief Create a string with the name for cert in SECItem.
549 * 549 *
550 * Should be freed by caller. 550 * Should be freed by caller.
551 * @param[in] secitemp ponts to an SECItem holding the DER certificate. 551 * @param[in] secitemp ponts to an SECItem holding the DER certificate.
552 * @retruns a string of the from "CN of Subject - O of Subject" 552 * @returns a string of the from "CN of Subject - O of Subject"
553 */ 553 */
554 static char * 554 static char *
555 nss_cert_name(SECItem *secitemp) 555 nss_cert_name(SECItem *secitemp)
556 { 556 {
557 char *cn_str, *o_str, *name; 557 char *cn_str, *o_str, *name;
772 * @brief Parse IPC commands from standard input. 772 * @brief Parse IPC commands from standard input.
773 * 773 *
774 * Reads command lines (R: and I:) from standard input and puts the 774 * Reads command lines (R: and I:) from standard input and puts the
775 * certificates to process in two SECItem lists holding the 775 * certificates to process in two SECItem lists holding the
776 * certificates in DER format. 776 * certificates in DER format.
777 * @param[inout] stream from standard input
777 * @param[inout] install_list list of SECItems with certifiactes to install 778 * @param[inout] install_list list of SECItems with certifiactes to install
778 * @param[inout] remove_list list of SECItems with certifiactes to remove 779 * @param[inout] remove_list list of SECItems with certifiactes to remove
779 */ 780 */
780 static void 781 static void
781 parse_commands (FILE *stream, 782 parse_commands (FILE *stream,

http://wald.intevation.org/projects/trustbridge/