diff --git a/package/project_package.module b/package/project_package.module
index 42adc73..eab7b0a 100644
--- a/package/project_package.module
+++ b/package/project_package.module
@@ -81,3 +81,16 @@ function project_package_check_update_status($item_nids) {
   }
 }
 
+/**
+ * Record a patch file included in a given release package.
+ *
+ * @param integer $package_nid
+ *   The release node ID of the package to record the patch information for.
+ * @param string $patch_url
+ *   The fully qualified URL where the patch file lives.
+ */
+function project_package_record_patch($package_nid, $patch_url) {
+  // TODO: parse patch_url to see if it's a "local" patch.
+  // If so, see if the patch is attached to a node or comment.
+  // Finally, stuff a record into {project_package_patch_item}.
+}
