Skip to content

Commit

Permalink
uid_uri_db: clang-format for coherent indentation and coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed May 18, 2023
1 parent 18725c5 commit 57e2255
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 144 deletions.
1 change: 0 additions & 1 deletion src/modules/uid_uri_db/checks.c
Expand Up @@ -25,4 +25,3 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/

12 changes: 6 additions & 6 deletions src/modules/uid_uri_db/checks.h
Expand Up @@ -37,25 +37,25 @@
* Check if To header field contains the same username
* as digest credentials
*/
int check_to(struct sip_msg* _msg, char* _str1, char* _str2);
int check_to(struct sip_msg *_msg, char *_str1, char *_str2);


/*
* Check if From header field contains the same username
* as digest credentials
*/
int check_from(struct sip_msg* _msg, char* _str1, char* _str2);
int check_from(struct sip_msg *_msg, char *_str1, char *_str2);


/*
* Check if uri belongs to a local user, contributed by Juha Heinanen
*/
int does_uri_exist(struct sip_msg* _msg, char* _table, char* _s2);
int does_uri_exist(struct sip_msg *_msg, char *_table, char *_s2);


int uridb_db_init(char* db_url);
int uridb_db_bind(char* db_url);
int uridb_db_init(char *db_url);
int uridb_db_bind(char *db_url);
void uridb_db_close();
int uridb_db_ver(char* db_url, str* name);
int uridb_db_ver(char *db_url, str *name);

#endif /* CHECKS_H */

0 comments on commit 57e2255

Please sign in to comment.