Greenbone Security Assistant
Functions
utils.h File Reference

Headers/structs for utility functions in GSAD. More...

#include <glib.h>

Go to the source code of this file.

Functions

gboolean str_equal (const gchar *, const gchar *)
 Check if two strings are equal. More...
 
gchar * capitalize (const char *)
 Capitalize a type or command name and replace underscores. More...
 

Detailed Description

Headers/structs for utility functions in GSAD.

Function Documentation

◆ capitalize()

gchar* capitalize ( const char *  input)

Capitalize a type or command name and replace underscores.

Parameters
[in]inputThe input string.
Returns
The newly allocated capitalized type or command name.

◆ str_equal()

gboolean str_equal ( const gchar *  str1,
const gchar *  str2 
)

Check if two strings are equal.

Returns
TRUE if string are equal