loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow
[samba.git] / lib / param / param_functions.c
index b3520c605e310ee3f77f599bf85ecac1af7fa65c..fef85507e5097947797c67d63b3c682373667bc5 100644 (file)
@@ -27,8 +27,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-FN_LOCAL_STRING(pathname, pathname)
-FN_LOCAL_LIST(hostsallow, hostsallow)
+FN_LOCAL_STRING(path, path)
+FN_LOCAL_LIST(hosts_allow, hosts_allow)
 FN_LOCAL_LIST(hostsdeny, hostsdeny)
 FN_LOCAL_STRING(fstype, fstype)
 FN_LOCAL_LIST(ntvfs_handler, ntvfs_handler)
@@ -63,7 +63,7 @@ FN_LOCAL_STRING(lppausecommand, lppausecommand)
 FN_LOCAL_STRING(lpresumecommand, lpresumecommand)
 FN_LOCAL_STRING(queuepausecommand, queuepausecommand)
 FN_LOCAL_STRING(queueresumecommand, queueresumecommand)
-static FN_LOCAL_STRING(_printername, szPrintername)
+FN_LOCAL_STRING(_printername, _printername)
 FN_LOCAL_CONST_STRING(printjob_username, printjob_username)
 FN_LOCAL_STRING(magicscript, magicscript)
 FN_LOCAL_STRING(magicoutput, magicoutput)
@@ -74,7 +74,7 @@ FN_LOCAL_LIST(readlist, readlist)
 FN_LOCAL_LIST(writelist, writelist)
 FN_LOCAL_LIST(vfs_objects, vfs_objects)
 FN_LOCAL_STRING(msdfs_proxy, msdfs_proxy)
-static FN_LOCAL_STRING(volume, volume)
+FN_LOCAL_STRING(volume, volume)
 FN_LOCAL_STRING(veto_files, veto_files)
 FN_LOCAL_STRING(hide_files, hide_files)
 FN_LOCAL_STRING(veto_oplocks, veto_oplocks)
@@ -285,7 +285,7 @@ FN_GLOBAL_INTEGER(ctdb_timeout, ctdb_timeout)
 FN_GLOBAL_INTEGER(cups_connection_timeout, cups_connection_timeout)
 FN_GLOBAL_INTEGER(deadtime, deadtime)
 FN_GLOBAL_INTEGER(dgram_port, dgram_port)
-FN_GLOBAL_INTEGER(_domain_master, domain_master)
+FN_GLOBAL_INTEGER(_domain_master, _domain_master)
 FN_GLOBAL_INTEGER(idmap_cache_time, idmap_cache_time)
 FN_GLOBAL_INTEGER(idmap_negative_cache_time, idmap_negative_cache_time)
 FN_GLOBAL_INTEGER(init_logon_delay, init_logon_delay)
@@ -322,14 +322,13 @@ FN_GLOBAL_INTEGER(max_xmit, max_xmit)
 FN_GLOBAL_INTEGER(min_wins_ttl, min_wins_ttl)
 FN_GLOBAL_INTEGER(name_cache_timeout, name_cache_timeout)
 FN_GLOBAL_INTEGER(nbt_port, nbt_port)
-FN_GLOBAL_INTEGER(open_files_db_hash_size, open_files_db_hash_size)
 FN_GLOBAL_INTEGER(oplock_break_wait_time, oplock_break_wait_time)
 FN_GLOBAL_INTEGER(os_level, os_level)
 FN_GLOBAL_INTEGER(passwd_chat_timeout, passwd_chat_timeout)
 FN_GLOBAL_INTEGER(printcap_cache_time, printcap_cache_time)
 FN_GLOBAL_INTEGER(restrict_anonymous, restrict_anonymous)
-FN_GLOBAL_INTEGER(_security, security)
-FN_GLOBAL_INTEGER(_server_role, server_role)
+FN_GLOBAL_INTEGER(_security, _security)
+FN_GLOBAL_INTEGER(_server_role, _server_role)
 FN_GLOBAL_INTEGER(server_schannel, server_schannel)
 FN_GLOBAL_INTEGER(server_signing, server_signing)
 FN_GLOBAL_INTEGER(smb2_max_read, smb2_max_read)
@@ -351,7 +350,7 @@ FN_GLOBAL_LIST(cluster_addresses, cluster_addresses)
 FN_GLOBAL_LIST(dcerpc_endpoint_servers, dcerpc_endpoint_servers)
 FN_GLOBAL_LIST(dns_update_command, dns_update_command)
 FN_GLOBAL_LIST(eventlog_list, eventlog_list)
-FN_GLOBAL_LIST(init_logon_delayed_hosts, szinit_logon_delayedHosts)
+FN_GLOBAL_LIST(init_logon_delayed_hosts, init_logon_delayed_hosts)
 FN_GLOBAL_LIST(interfaces, interfaces)
 FN_GLOBAL_LIST(name_resolve_order, name_resolve_order)
 FN_GLOBAL_LIST(netbios_aliases, netbios_aliases)
@@ -407,9 +406,9 @@ FN_GLOBAL_STRING(rootdir, rootdir)
 FN_GLOBAL_STRING(serverstring, serverstring)
 FN_GLOBAL_STRING(setprimarygroup_script, setprimarygroup_script)
 FN_GLOBAL_STRING(set_quota_command, set_quota_command)
-FN_GLOBAL_STRING(share_backend, szShareBackend)
-FN_GLOBAL_STRING(shutdown_script, szShutdownScript)
-FN_GLOBAL_STRING(username_map_script, usernameMapScript)
-FN_GLOBAL_STRING(username_map, usernameMap)
-FN_GLOBAL_STRING(usershare_path, szUsersharePath)
-FN_GLOBAL_STRING(wins_hook, szWINSHook)
+FN_GLOBAL_STRING(share_backend, share_backend)
+FN_GLOBAL_STRING(shutdown_script, shutdown_script)
+FN_GLOBAL_STRING(username_map_script, username_map_script)
+FN_GLOBAL_STRING(username_map, username_map)
+FN_GLOBAL_STRING(usershare_path, usershare_path)
+FN_GLOBAL_STRING(wins_hook, wins_hook)