diff options
Diffstat (limited to 'sfshare-daemon/src/samba_share.h')
-rw-r--r-- | sfshare-daemon/src/samba_share.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sfshare-daemon/src/samba_share.h b/sfshare-daemon/src/samba_share.h index 61a3d5e..f967126 100644 --- a/sfshare-daemon/src/samba_share.h +++ b/sfshare-daemon/src/samba_share.h @@ -1,3 +1,20 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + #ifndef SAMBA_SHARE_H #define SAMBA_SHARE_H @@ -26,8 +43,8 @@ gint write_share (GPtrArray *shared_items, TSmbConfItem *share); gboolean smb_get_share_status (const gchar *path, gchar ***result); -gint smb_set_share (const gchar **parameters); -gint smb_delete_share (const gchar **path); +gint smb_set_share (gchar **parameters); +gint smb_delete_share (gchar **path); void item_to_strv (TSmbConfItem *item, gchar ***ret); |