• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libatalk/util/

Lines Matching refs:preset

563  * @param preset   (r) default preset, may be NULL
571 const char *preset)
586 LOG(log_debug, logtype_afpd, "createvol(volume: '%s', path: \"%s\", preset: '%s'): BEGIN",
587 name, path, preset ? preset : "-");
627 if (accessvol(obj, getoption(obj->iniconfig, section, "invalid users", preset, NULL), pwd->pw_name) == 1)
629 if (accessvol(obj, getoption(obj->iniconfig, section, "valid users", preset, NULL), pwd->pw_name) == 0)
631 if (hostaccessvol(obj, section, getoption(obj->iniconfig, section, "hosts deny", preset, NULL)) == 1)
633 if (hostaccessvol(obj, section, getoption(obj->iniconfig, section, "hosts allow", preset, NULL)) == 0)
644 if ((val = getoption(obj->iniconfig, section, "password", preset, NULL)))
647 if ((val = getoption(obj->iniconfig, section, "veto files", preset, NULL)))
651 if ((val = getoption(obj->iniconfig, section, "vol charset", preset, NULL))) {
661 if ((val = getoption(obj->iniconfig, section, "mac charset", preset, NULL))) {
681 if ((val = getoption(obj->iniconfig, section, "cnid scheme", preset, NULL)))
686 if ((val = getoption(obj->iniconfig, section, "umask", preset, NULL)))
689 if ((val = getoption(obj->iniconfig, section, "directory perm", preset, NULL)))
692 if ((val = getoption(obj->iniconfig, section, "file perm", preset, NULL)))
695 if ((val = getoption(obj->iniconfig, section, "vol size limit", preset, NULL)))
698 if ((val = getoption(obj->iniconfig, section, "preexec", preset, NULL)))
701 if ((val = getoption(obj->iniconfig, section, "postexec", preset, NULL)))
704 if ((val = getoption(obj->iniconfig, section, "root preexec", preset, NULL)))
707 if ((val = getoption(obj->iniconfig, section, "root postexec", preset, NULL)))
710 if ((val = getoption(obj->iniconfig, section, "appledouble", preset, NULL))) {
719 if ((val = getoption(obj->iniconfig, section, "cnid server", preset, NULL))) {
734 if ((val = getoption(obj->iniconfig, section, "ea", preset, NULL))) {
743 if ((val = getoption(obj->iniconfig, section, "casefold", preset, NULL))) {
754 if (getoption_bool(obj->iniconfig, section, "read only", preset, 0))
756 if (getoption_bool(obj->iniconfig, section, "invisible dots", preset, 0))
758 if (!getoption_bool(obj->iniconfig, section, "stat vol", preset, 1))
760 if (getoption_bool(obj->iniconfig, section, "unix priv", preset, 1))
762 if (!getoption_bool(obj->iniconfig, section, "cnid dev", preset, 1))
764 if (getoption_bool(obj->iniconfig, section, "illegal seq", preset, 0))
766 if (getoption_bool(obj->iniconfig, section, "time machine", preset, 0))
768 if (getoption_bool(obj->iniconfig, section, "search db", preset, 0))
770 if (!getoption_bool(obj->iniconfig, section, "network ids", preset, 1))
773 if (getoption_bool(obj->iniconfig, section, "acls", preset, 1))
776 if (!getoption_bool(obj->iniconfig, section, "convert appledouble", preset, 1))
778 if (getoption_bool(obj->iniconfig, section, "follow symlinks", preset, 0))
780 if (getoption_bool(obj->iniconfig, section, "delete veto files", preset, 0))
783 if (getoption_bool(obj->iniconfig, section, "preexec close", preset, 0))
785 if (getoption_bool(obj->iniconfig, section, "root preexec close", preset, 0))
788 if ((val = getoption(obj->iniconfig, section, "ignored attributes", preset, obj->options.ignored_attr))) {
811 if (accessvol(obj, getoption(obj->iniconfig, section, "rolist", preset, NULL), pwd->pw_name) == 1
812 || accessvol(obj, getoption(obj->iniconfig, section, "rwlist", preset, NULL), pwd->pw_name) == 0)
1004 const char *preset, *default_preset, *p, *basedir;
1014 if ((default_preset = atalk_iniparser_getstring(obj->iniconfig, INISEC_GLOBAL, "vol preset", NULL))) {
1088 preset = atalk_iniparser_getstring(obj->iniconfig, secname, "vol preset", NULL);
1093 creatvol(obj, pwent, secname, volname, realvolpath, preset ? preset : default_preset ? default_preset : NULL);
1686 const char *preset, *default_preset;
1687 default_preset = atalk_iniparser_getstring(obj->iniconfig, INISEC_GLOBAL, "vol preset", NULL);
1688 preset = atalk_iniparser_getstring(obj->iniconfig, INISEC_HOMES, "vol preset", NULL);
1690 vol = creatvol(obj, pw, INISEC_HOMES, volname, realvolpath, preset ? preset : default_preset ? default_preset : NULL);