dav/scfg.c

changeset 576
62cc92445234
parent 549
af91d3c96994
child 623
7870656d302d
equal deleted inserted replaced
575:f746f601c35c 576:62cc92445234
1 /* 1 /*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 * 3 *
4 * Copyright 2018 Olaf Wintermann. All rights reserved. 4 * Copyright 2019 Olaf Wintermann. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met: 7 * modification, are permitted provided that the following conditions are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
533 dir->lockpush = lockpush; 533 dir->lockpush = lockpush;
534 dir->hashing = hashing; 534 dir->hashing = hashing;
535 dir->lock_timeout = lock_timeout; 535 dir->lock_timeout = lock_timeout;
536 dir->metadata = metadata; 536 dir->metadata = metadata;
537 dir->splitconfig = splitconfig; 537 dir->splitconfig = splitconfig;
538 dir->symlink = SYNC_SYMLINK_STORE; // TODO: add config elements
538 if((metadata & FINFO_MODE) == FINFO_MODE) { 539 if((metadata & FINFO_MODE) == FINFO_MODE) {
539 dir->db_settings = DB_STORE_MODE; 540 dir->db_settings = DB_STORE_MODE;
540 } 541 }
541 if((metadata & FINFO_OWNER) == FINFO_OWNER) { 542 if((metadata & FINFO_OWNER) == FINFO_OWNER) {
542 dir->db_settings |= DB_STORE_OWNER; 543 dir->db_settings |= DB_STORE_OWNER;

mercurial