X-Git-Url: http://git.archive.openwrt.org/?p=project%2Frpcd.git;a=blobdiff_plain;f=include%2Frpcd%2Fsession.h;h=03fffd2eb9076607e83a45f015ce510c1af08866;hp=7fa388e5360e8fde6ce259609b8c6830a160c4c6;hb=ec21f653b936b54e4d788d77bfce18634255adb7;hpb=fa53571f2b1670383b4536540de35b732f973ac7 diff --git a/include/rpcd/session.h b/include/rpcd/session.h index 7fa388e..03fffd2 100644 --- a/include/rpcd/session.h +++ b/include/rpcd/session.h @@ -2,7 +2,7 @@ * rpcd - UBUS RPC server * * Copyright (C) 2013 Felix Fietkau - * Copyright (C) 2013 Jo-Philipp Wich + * Copyright (C) 2013-2014 Jo-Philipp Wich * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -32,7 +32,9 @@ #define RPC_SID_LEN 32 #define RPC_DEFAULT_SESSION_TIMEOUT 300 +#define RPC_DEFAULT_SESSION_ID "00000000000000000000000000000000" #define RPC_SESSION_DIRECTORY "/var/run/rpcd/sessions" +#define RPC_SESSION_ACL_DIR "/usr/share/rpcd/acl.d" struct rpc_session { struct avl_node avl;