~ubuntu-branches/ubuntu/precise/mountall/precise

« back to all changes in this revision

Viewing changes to src/mountall.h

  • Committer: Surbhi Palande
  • Date: 2011-07-15 06:58:31 UTC
  • mto: This revision was merged to the branch mainline in revision 372.
  • Revision ID: surbhi.palande@canonical.com-20110715065831-jga2lw83obvg28e6
Changed the interface to stop/restart timers to use a mountpoint rather than
the device name. This is useful in situations where the device mentioned in
/etc/fstab is not the device used for mounting because of the change mount
device interface. The mountpoint remains constant in all cases and is also
easier to use that specifying a device with uuids for eg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
 */
18
18
 
19
 
int stop_dev_timer (const char * devname)
 
19
int stop_dev_timer (const char * mountpoint)
20
20
        __attribute__ ((warn_unused_result));
21
 
int restart_dev_timer (const char * devname)
 
21
int restart_dev_timer (const char * mountpoint)
22
22
        __attribute__ ((warn_unused_result));
23
23
int change_mount_device (const char * devname, const char * path)
24
24
        __attribute__ ((warn_unused_result));
25
 
int get_mount_devices (NihDBusMessage *message, char *** devs, char *** mntpoints)
26
 
        __attribute__ ((warn_unused_result));