diff options
Diffstat (limited to 'src/credential/credential_misc.h')
-rw-r--r-- | src/credential/credential_misc.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/credential/credential_misc.h b/src/credential/credential_misc.h index fbcd70c32..b06ee98cf 100644 --- a/src/credential/credential_misc.h +++ b/src/credential/credential_misc.h | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -24,12 +24,13 @@ | |||
24 | #ifndef CREDENTIAL_MISC_H | 24 | #ifndef CREDENTIAL_MISC_H |
25 | #define CREDENTIAL_MISC_H | 25 | #define CREDENTIAL_MISC_H |
26 | 26 | ||
27 | #include "gnunet_credential_service.h" | ||
27 | 28 | ||
29 | char * | ||
30 | GNUNET_CREDENTIAL_credential_to_string ( | ||
31 | const struct GNUNET_CREDENTIAL_Credential *cred); | ||
28 | 32 | ||
29 | char* | 33 | struct GNUNET_CREDENTIAL_Credential * |
30 | GNUNET_CREDENTIAL_credential_to_string (const struct GNUNET_CREDENTIAL_Credential *cred); | 34 | GNUNET_CREDENTIAL_credential_from_string (const char *str); |
31 | |||
32 | struct GNUNET_CREDENTIAL_Credential* | ||
33 | GNUNET_CREDENTIAL_credential_from_string (const char* str); | ||
34 | 35 | ||
35 | #endif | 36 | #endif |