librazor/razor.h
changeset 421 408c66ad463d
parent 416 d0aa9e0a6d04
child 423 6112bcc5d1cf
     1.1 --- a/librazor/razor.h	Thu Feb 09 20:42:08 2012 +0000
     1.2 +++ b/librazor/razor.h	Sat Feb 11 09:34:40 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5   * Copyright (C) 2008  Kristian Høgsberg <krh@redhat.com>
     1.6   * Copyright (C) 2008  Red Hat, Inc
     1.7 - * Copyright (C) 2009, 2011  J. Ali Harlow <ali@juiblex.co.uk>
     1.8 + * Copyright (C) 2009, 2011, 2012  J. Ali Harlow <ali@juiblex.co.uk>
     1.9   *
    1.10   * This program is free software; you can redistribute it and/or modify
    1.11   * it under the terms of the GNU General Public License as published by
    1.12 @@ -349,7 +349,22 @@
    1.13  				enum razor_install_action *action,
    1.14  				int *count);
    1.15  
    1.16 +/**
    1.17 + * razor_install_iterator_commit_set
    1.18 + *
    1.19 + * Immediately after razor_install_iterator_next() returns
    1.20 + * RAZOR_INSTALL_ACTION_COMMIT, this function will return the razor_set
    1.21 + * which should be committed.
    1.22 + *
    1.23 + * Returns: a new #razor_set object.
    1.24 + **/
    1.25 +struct razor_set *
    1.26 +razor_install_iterator_commit_set(struct razor_install_iterator *ii);
    1.27 +
    1.28  void razor_install_iterator_rewind(struct razor_install_iterator *ii);
    1.29 +size_t razor_install_iterator_tell(struct razor_install_iterator *ii);
    1.30 +size_t razor_install_iterator_seek(struct razor_install_iterator *ii,
    1.31 +				   size_t pos);
    1.32  void razor_install_iterator_destroy(struct razor_install_iterator *ii);
    1.33  
    1.34  /**